Trait mmtk::plan::mutator_context::MutatorContext [−][src]
Each GC plan should provide their implementation of a MutatorContext. Note that this trait is no longer needed as we removed per-plan mutator implementation and we will remove this trait as well in the future.
Required methods
fn prepare(&mut self, tls: OpaquePointer)
[src]
fn release(&mut self, tls: OpaquePointer)
[src]
fn alloc(
&mut self,
size: usize,
align: usize,
offset: isize,
allocator: AllocationType
) -> Address
[src]
&mut self,
size: usize,
align: usize,
offset: isize,
allocator: AllocationType
) -> Address
fn post_alloc(
&mut self,
refer: ObjectReference,
bytes: usize,
allocator: AllocationType
)
[src]
&mut self,
refer: ObjectReference,
bytes: usize,
allocator: AllocationType
)
fn get_tls(&self) -> OpaquePointer
[src]
fn barrier(&mut self) -> &mut dyn Barrier
[src]
Provided methods
fn flush_remembered_sets(&mut self)
[src]
fn flush(&mut self)
[src]
fn record_modified_node(&mut self, obj: ObjectReference)
[src]
Implementors
impl<VM: VMBinding> MutatorContext<VM> for Mutator<VM>
[src]
fn prepare(&mut self, tls: OpaquePointer)
[src]
fn release(&mut self, tls: OpaquePointer)
[src]
fn alloc(
&mut self,
size: usize,
align: usize,
offset: isize,
allocator: AllocationType
) -> Address
[src]
&mut self,
size: usize,
align: usize,
offset: isize,
allocator: AllocationType
) -> Address
fn post_alloc(
&mut self,
refer: ObjectReference,
_bytes: usize,
allocator: AllocationType
)
[src]
&mut self,
refer: ObjectReference,
_bytes: usize,
allocator: AllocationType
)