8223267: Fix incorrect usage of GCTraceTime in g1FullCollector and g1CollectedHeap
Reviewed-by: kbarrett, tschatzl
This commit is contained in:
parent
a03338e219
commit
ce32bc437c
@ -1092,7 +1092,7 @@ void G1CollectedHeap::verify_after_full_collection() {
|
||||
// the full GC has compacted objects and updated TAMS but not updated
|
||||
// the prev bitmap.
|
||||
if (G1VerifyBitmaps) {
|
||||
GCTraceTime(Debug, gc)("Clear Prev Bitmap for Verification");
|
||||
GCTraceTime(Debug, gc) tm("Clear Prev Bitmap for Verification");
|
||||
_cm->clear_prev_bitmap(workers());
|
||||
}
|
||||
// This call implicitly verifies that the next bitmap is clear after Full GC.
|
||||
|
@ -289,6 +289,6 @@ void G1FullCollector::verify_after_marking() {
|
||||
// fail. At the end of the GC, the original mark word values
|
||||
// (including hash values) are restored to the appropriate
|
||||
// objects.
|
||||
GCTraceTime(Info, gc, verify)("Verifying During GC (full)");
|
||||
GCTraceTime(Info, gc, verify) tm("Verifying During GC (full)");
|
||||
_heap->verify(VerifyOption_G1UseFullMarking);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user