mmtk/plan/semispace/
gc_work.rs1use super::global::SemiSpace;
2use crate::plan::tracing::{PlanTrace, UnsupportedTrace};
3use crate::policy::gc_work::DEFAULT_TRACE;
4use crate::vm::VMBinding;
5
6pub struct SSGCWorkContext<VM: VMBinding>(std::marker::PhantomData<VM>);
7impl<VM: VMBinding> crate::scheduler::GCWorkContext for SSGCWorkContext<VM> {
8 type VM = VM;
9 type PlanType = SemiSpace<VM>;
10 type DefaultTrace = PlanTrace<SemiSpace<VM>, DEFAULT_TRACE>;
11 type PinningTrace = UnsupportedTrace<VM>;
12}