Function mmtk::util::metadata::side_metadata::sanity::verify_metadata_address_bound
source · fn verify_metadata_address_bound(spec: &SideMetadataSpec, data_addr: Address)
Expand description
This verifies two things:
- Check if data_addr is within the address space that we are supposed to use (LOG_ADDRESS_SPACE). If this fails, we log a warning.
- Check if metadata address is out of bounds. If this fails, we will panic.