Objects in VM spaces are not 'mmapped' by MMTk, so is_mapepd_address will return false for those. But they are still considered as in MMTk spaces (the VM space).
Note that malloc'd objects are not mapped by MMTk, and not in MMTk spaces, so both methods will return false for malloc'd objects. However, this seems irrelevant in this scan object code.
Objects in VM spaces are not 'mmapped' by MMTk, so
is_mapepd_address
will returnfalse
for those. But they are still considered as in MMTk spaces (the VM space).Note that malloc'd objects are not mapped by MMTk, and not in MMTk spaces, so both methods will return
false
for malloc'd objects. However, this seems irrelevant in this scan object code.