src/hotspot/share/gc/shared/genArguments.cpp
changeset 55308 871bc449ce06
parent 54983 81becad91321
child 58060 44f3609f46af
--- a/src/hotspot/share/gc/shared/genArguments.cpp	Thu Feb 14 14:54:05 2019 +0100
+++ b/src/hotspot/share/gc/shared/genArguments.cpp	Fri Jun 07 13:50:14 2019 +0200
@@ -90,7 +90,7 @@
   }
   // If needed, synchronize MinHeapSize size and InitialHeapSize
   if (MinHeapSize < smallest_heap_size) {
-    MinHeapSize = smallest_heap_size;
+    FLAG_SET_ERGO(MinHeapSize, smallest_heap_size);
     if (InitialHeapSize < MinHeapSize) {
       FLAG_SET_ERGO(InitialHeapSize, smallest_heap_size);
     }