Commit bd660ede authored by Ben Gamari's avatar Ben Gamari 🐢

rts: Assert that LDV profiling isn't used with parallel GC

I'm not entirely sure we are careful about ensuring this; this is a
last-ditch check.
parent 11bac115
Pipeline #7833 failed with stages
in 1 minute and 49 seconds
......@@ -1167,6 +1167,9 @@ selector_loop:
OVERWRITING_CLOSURE((StgClosure*)p);
SET_INFO((StgClosure*)p, &stg_WHITEHOLE_info);
write_barrier();
#if defined(PARALLEL_GC)
abort(); // LDV is incompatible with parallel GC
#endif
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment