[sgen] Fix a concurrent sweep bug.
authorMark Probst <mark.probst@gmail.com>
Fri, 10 Apr 2015 19:48:02 +0000 (12:48 -0700)
committerMark Probst <mark.probst@gmail.com>
Fri, 10 Apr 2015 19:48:02 +0000 (12:48 -0700)
mono/metadata/sgen-marksweep.c

index 90a9a84c8c0f4ab994b322894ee605dbd0200a58..bd2d3bbbbcf946e218802a4996f4f923e7d26b9a 100644 (file)
@@ -1752,7 +1752,7 @@ major_start_major_collection (void)
        MSBlockInfo *block;
        int i;
 
-       SGEN_ASSERT (0, sweep_state == SWEEP_STATE_SWEPT, "Major collection on unswept heap");
+       major_finish_sweep_checking ();
 
        /*
         * Clear the free lists for block sizes where we do evacuation.  For those block