Trait mmtk::plan::global::CopyContext [−][src]
A GC worker’s context for copying GCs. Each GC plan should provide their implementation of a CopyContext. For non-copying GC, NoCopy can be used.
Associated Types
Loading content...Required methods
fn constraints(&self) -> &'static PlanConstraints
[src]
fn init(&mut self, tls: OpaquePointer)
[src]
fn prepare(&mut self)
[src]
fn release(&mut self)
[src]
fn alloc_copy(
&mut self,
original: ObjectReference,
bytes: usize,
align: usize,
offset: isize,
semantics: AllocationSemantics
) -> Address
[src]
&mut self,
original: ObjectReference,
bytes: usize,
align: usize,
offset: isize,
semantics: AllocationSemantics
) -> Address
Provided methods
fn post_copy(
&mut self,
_obj: ObjectReference,
_tib: Address,
_bytes: usize,
_semantics: AllocationSemantics
)
[src]
&mut self,
_obj: ObjectReference,
_tib: Address,
_bytes: usize,
_semantics: AllocationSemantics
)
fn copy_check_allocator(
&self,
_from: ObjectReference,
bytes: usize,
align: usize,
semantics: AllocationSemantics
) -> AllocationSemantics
[src]
&self,
_from: ObjectReference,
bytes: usize,
align: usize,
semantics: AllocationSemantics
) -> AllocationSemantics
Implementors
impl<VM: VMBinding> CopyContext for NoCopy<VM>
[src]
type VM = VM
fn init(&mut self, _tls: OpaquePointer)
[src]
fn constraints(&self) -> &'static PlanConstraints
[src]
fn prepare(&mut self)
[src]
fn release(&mut self)
[src]
fn alloc_copy(
&mut self,
_original: ObjectReference,
_bytes: usize,
_align: usize,
_offset: isize,
_semantics: AllocationSemantics
) -> Address
[src]
&mut self,
_original: ObjectReference,
_bytes: usize,
_align: usize,
_offset: isize,
_semantics: AllocationSemantics
) -> Address