Function mmtk::memory_manager::add_phantom_candidate [−][src]
pub fn add_phantom_candidate<VM: VMBinding>(
mmtk: &MMTK<VM>,
reff: ObjectReference,
referent: ObjectReference
)
Add a reference to the list of phantom references.
Arguments:
mmtk
: A reference to an MMTk instance.reff
: The phantom reference to add.referent
: The object that the reference points to.