Module mmtk::policy::gc_work

source ·
Expand description

Policy specific GC work

Constants§

Traits§

  • 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.