Function mmtk::memory_manager::bind_mutator [−][src]
pub fn bind_mutator<VM: VMBinding>(
mmtk: &'static MMTK<VM>,
tls: OpaquePointer
) -> Box<Mutator<VM>>
Request MMTk to create a mutator for the given thread. For performance reasons, A VM should store the returned mutator in a thread local storage that can be accessed efficiently.
Arguments:
mmtk
: A reference to an MMTk instance.tls
: The thread that will be associated with the mutator.