Avoid resetting gen0 bricks for background_sweep (#59106) (#59960)
authorAndrew Au <andrewau@microsoft.com>
Tue, 5 Oct 2021 17:34:44 +0000 (10:34 -0700)
committerGitHub <noreply@github.com>
Tue, 5 Oct 2021 17:34:44 +0000 (10:34 -0700)
src/coreclr/gc/gc.cpp

index 5ef8a48..1932132 100644 (file)
@@ -33109,8 +33109,6 @@ void gc_heap::background_mark_phase ()
 #endif //MULTIPLE_HEAPS
     }
 
-    gen0_bricks_cleared = FALSE;
-
     dprintf (2, ("end of bgc mark: loh: %d, poh: %d, soh: %d",
                  generation_size (loh_generation),
                  generation_size (poh_generation),