8220290: gc/arguments/TestSurvivorRatioFlag.java fails after JDK-8215221 with CMS
Reviewed-by: kbarrett, tschatzl
--- 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();