Skip to content

nonmoving: Fix marking in compact regions

Ben Gamari requested to merge wip/gc/nonmoving-compact-fix into master

Previously we were tracing the object we were asked to mark, even if it lives in a compact region. However, there is no need to do this; we need only to mark the region itself as live.

I have seen a segfault due to this due to the concurrent mark seeing a an object in the process of being compacted by the mutator.

Merge request reports