Function mmtk::policy::marksweepspace::malloc_ms::metadata::has_object_alloced_by_malloc
source · pub fn has_object_alloced_by_malloc(addr: Address) -> Option<ObjectReference>
Expand description
Check if there is an object allocated by malloc at the address.
This function doesn’t check if addr
is aligned.
If not, it will try to load the VO bit for the address rounded down to the metadata’s granularity.