Function mmtk::util::metadata::side_metadata::sanity::verify_global_specs
source · fn verify_global_specs(g_specs: &[SideMetadataSpec]) -> Result<()>
Expand description
Checks whether a slice of global specifications fit within the memory limits and don’t overlap.
Returns Ok
if no issue is detected, or otherwise an Err
explaining the issue.
Arguments:
g_specs
: the slice of global specifications to be checked