< prev index next >

src/share/vm/gc/shenandoah/shenandoahCollectorPolicy.cpp

Print this page
rev 14453 : Remove secondary marking bitmap.

@@ -348,11 +348,11 @@
       }
     } else if (region->is_humongous_start()) {
         // Reclaim humongous regions here, and count them as the immediate garbage
 #ifdef ASSERT
         bool reg_live = region->has_live();
-        bool bm_live = heap->is_marked_complete(oop(region->bottom() + BrooksPointer::word_size()));
+        bool bm_live = heap->is_marked(oop(region->bottom() + BrooksPointer::word_size()));
         assert(reg_live == bm_live,
                "Humongous liveness and marks should agree. Region live: %s; Bitmap live: %s; Region Live Words: " SIZE_FORMAT,
                BOOL_TO_STR(reg_live), BOOL_TO_STR(bm_live), region->get_live_data_words());
 #endif
         if (!region->has_live()) {
< prev index next >