--- 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