Function mmtk::util::metadata::side_metadata::sanity::verify_local_specs_size
source · fn verify_local_specs_size(l_specs: &[SideMetadataSpec]) -> Result<()>
Expand description
(For 64-bits targets) Checks whether the input local specifications fit within the current upper bound for each local metadata (limited for each local metadata by metadata::constants::LOG_LOCAL_SIDE_METADATA_WORST_CASE_RATIO
).
Returns Ok
if all local specs fit and Err
otherwise.
Arguments:
l_specs
: a slice of local specs to be checked.