File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -564,8 +564,11 @@ pub struct CommonPlan<VM: VMBinding> {
564
564
pub immortal : ImmortalSpace < VM > ,
565
565
#[ space]
566
566
pub los : LargeObjectSpace < VM > ,
567
- // TODO: We should use a marksweep space for nonmoving.
568
567
#[ space]
568
+ #[ cfg_attr(
569
+ not( any( feature = "immortal_as_nonmoving" , feature = "marksweep_as_nonmoving" ) ) ,
570
+ post_scan
571
+ ) ] // Immix space needs post_scan
569
572
pub nonmoving : NonMovingSpace < VM > ,
570
573
#[ parent]
571
574
pub base : BasePlan < VM > ,
Original file line number Diff line number Diff line change @@ -232,6 +232,7 @@ impl<VM: VMBinding> crate::policy::gc_work::PolicyTraceObject<VM> for ImmixSpace
232
232
}
233
233
}
234
234
235
+ #[ allow( clippy:: if_same_then_else) ] // DEFAULT_TRACE needs a workaround which is documented below.
235
236
fn may_move_objects < const KIND : TraceKind > ( ) -> bool {
236
237
if KIND == TRACE_KIND_DEFRAG {
237
238
true
You can’t perform that action at this time.
0 commit comments