Function mmtk::util::metadata::side_metadata::sanity::verify_store
source · pub fn verify_store<T: MetadataValue>(
metadata_spec: &SideMetadataSpec,
data_addr: Address,
metadata: T
)
Expand description
Commits a side metadata store operation. Panics if: 1 - the loaded side metadata content is not equal to the correct content.
Arguments:
metadata_spec
: the metadata spec to commit the store operation fordata_addr
: the address of the source datametadata
: the metadata content to store