changeset 54032:ac09c2498c64

8220290: gc/arguments/TestSurvivorRatioFlag.java fails after JDK-8215221 with CMS Reviewed-by: kbarrett, tschatzl
author shade
date Fri, 08 Mar 2019 12:01:43 +0100
parents feea57b38a1c
children 07540197d0fd
files src/hotspot/share/gc/shared/genCollectedHeap.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shared/genCollectedHeap.cpp	Fri Mar 08 11:23:30 2019 +0100
+++ b/src/hotspot/share/gc/shared/genCollectedHeap.cpp	Fri Mar 08 12:01:43 2019 +0100
@@ -679,7 +679,9 @@
     // Track memory usage and detect low memory after GC finishes
     MemoryService::track_memory_usage();
 
-    gc_epilogue(complete);
+    // Need to tell the epilogue code we are done with Full GC, regardless what was
+    // the initial value for "complete" flag.
+    gc_epilogue(true);
 
     BiasedLocking::restore_marks();