Skip to content

nonmoving: Clear segment bitmaps during sweep

Ben Gamari requested to merge wip/gc/clear-bitmap-during-sweep into master

Previously we would clear the bitmaps of segments which we are going to sweep during the preparatory pause. However, this is unnecessary: the existence of the mark epoch ensures that the sweep will correctly identify non-reachable objects, even if we do not clear the bitmap.

We now defer clearing the bitmap to sweep, which happens concurrently with mutation.

Merge request reports