hotspot/src/share/vm/runtime/globals.hpp
changeset 34670 5ab871b40190
parent 34661 9a1d11d88ea0
child 35061 be6025ebffea
--- a/hotspot/src/share/vm/runtime/globals.hpp	Tue Dec 08 20:51:09 2015 -0500
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Wed Dec 09 15:31:25 2015 +0530
@@ -1423,6 +1423,13 @@
           range(500, max_intx)                                              \
           constraint(BiasedLockingDecayTimeFunc,AfterErgo)                  \
                                                                             \
+  product(bool, ExitOnOutOfMemoryError, false,                              \
+          "JVM exits on the first occurrence of an out-of-memory error")    \
+                                                                            \
+  product(bool, CrashOnOutOfMemoryError, false,                             \
+          "JVM aborts, producing an error log and core/mini dump, on the "  \
+          "first occurrence of an out-of-memory error")                     \
+                                                                            \
   /* tracing */                                                             \
                                                                             \
   develop(bool, StressRewriter, false,                                      \