Module gc_work

Module gc_work 

Source
Expand description

Policy specific GC work

Constants§

DEFAULT_TRACE
TRACE_KIND_TRANSITIVE_PIN

Traits§

PolicyTraceObject
This trait defines policy-specific behavior for tracing objects. The procedural macro #[derive(PlanTraceObject)] will generate code that uses this trait. We expect any policy to implement this trait. For the sake of performance, the implementation of this trait should mark methods as [inline(always)].

Type Aliases§

TraceKind 🔒
Used to identify the trace if a policy has different kinds of traces. For example, defrag vs fast trace for Immix, mark vs forward trace for mark compact.