Function mmtk::util::metadata::side_metadata::sanity::verify_bcopy
source · pub fn verify_bcopy(
dst_spec: &SideMetadataSpec,
start: Address,
size: usize,
src_spec: &SideMetadataSpec
)
Expand description
Commits a side metadata bulk copy operation (set the bits to the corresponding bits of another metadata). Panics if the metadata spec is not valid.
The source and destination metadata must have the same granularity.
Arguments:
dst_spec
: the metadata spec to bulk copy tostart
: the starting address of the datasize
: size of the datasrc_spec
: the metadata spec to bulk copy from