src/hotspot/share/gc/shared/gc_globals.hpp
changeset 55283 4556dd808daa
parent 54982 b18c8301b8c2
child 55308 871bc449ce06
--- a/src/hotspot/share/gc/shared/gc_globals.hpp	Fri Jun 07 11:19:34 2019 +0200
+++ b/src/hotspot/share/gc/shared/gc_globals.hpp	Fri Jun 07 11:19:34 2019 +0200
@@ -721,6 +721,10 @@
           "Maximum heap size (in bytes)")                                   \
           constraint(MaxHeapSizeConstraintFunc,AfterErgo)                   \
                                                                             \
+  manageable(size_t, SoftMaxHeapSize, 0,                                    \
+          "Soft limit for maximum heap size (in bytes)")                    \
+          constraint(SoftMaxHeapSizeConstraintFunc,AfterMemoryInit)         \
+                                                                            \
   product(size_t, OldSize, ScaleForWordSize(4*M),                           \
           "Initial tenured generation size (in bytes)")                     \
           range(0, max_uintx)                                               \