Skip to content
Snippets Groups Projects
Commit bd660ede authored by Ben Gamari's avatar Ben Gamari
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment