src/hotspot/share/gc/g1/g1CollectedHeap.cpp
changeset 51835 b177af763b82
parent 51801 09e8e51c948a
child 51877 5f931e3e7a63
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp	Thu Sep 20 13:59:39 2018 +0200
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp	Fri Sep 21 15:11:09 2018 +0200
@@ -1079,9 +1079,10 @@
   // the full GC has compacted objects and updated TAMS but not updated
   // the prev bitmap.
   if (G1VerifyBitmaps) {
-    GCTraceTime(Debug, gc)("Clear Bitmap for Verification");
+    GCTraceTime(Debug, gc)("Clear Prev Bitmap for Verification");
     _cm->clear_prev_bitmap(workers());
   }
+  // This call implicitly verifies that the next bitmap is clear after Full GC.
   _verifier->check_bitmaps("Full GC End");
 
   // At this point there should be no regions in the