From 4d19a49e1a4bb8a83592d7e39c9d54d2f8017099 Mon Sep 17 00:00:00 2001 From: Yi Lin Date: Wed, 3 Apr 2024 23:24:45 +0000 Subject: [PATCH] Default to allow tracing duplicate edges --- src/plan/plan_constraints.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plan/plan_constraints.rs b/src/plan/plan_constraints.rs index b273dff43d..d03363308d 100644 --- a/src/plan/plan_constraints.rs +++ b/src/plan/plan_constraints.rs @@ -55,7 +55,11 @@ impl PlanConstraints { needs_linear_scan: crate::util::constants::SUPPORT_CARD_SCANNING || crate::util::constants::LAZY_SWEEP, needs_concurrent_workers: false, - may_trace_duplicate_edges: false, + // The nonmoving space, marksweep, may trace duplicate edges. However, with this default to true, + // essentially, we are not checking any duplicated edges. + // FIXME: Should we remove this field and no longer check for duplicate edges? Or we could ask + // the binding if they would use nonmoving or not. + may_trace_duplicate_edges: true, needs_forward_after_liveness: false, needs_log_bit: false, barrier: BarrierSelector::NoBarrier,