OpenJDK / amber / amber
changeset 56069:61d0e96a6b2d
8223267: Fix incorrect usage of GCTraceTime in g1FullCollector and g1CollectedHeap
Reviewed-by: kbarrett, tschatzl
author | manc |
---|---|
date | Thu, 02 May 2019 15:46:34 -0700 |
parents | 239bc23e76cc |
children | b39365cebb73 |
files | src/hotspot/share/gc/g1/g1CollectedHeap.cpp src/hotspot/share/gc/g1/g1FullCollector.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp Sun May 05 09:10:21 2019 -0400 +++ b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp Thu May 02 15:46:34 2019 -0700 @@ -1092,7 +1092,7 @@ // 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.
--- a/src/hotspot/share/gc/g1/g1FullCollector.cpp Sun May 05 09:10:21 2019 -0400 +++ b/src/hotspot/share/gc/g1/g1FullCollector.cpp Thu May 02 15:46:34 2019 -0700 @@ -289,6 +289,6 @@ // 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); }