8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot

Reviewed-by: dholmes, sla
This commit is contained in:
Cheleswer Sahu 2015-12-09 15:31:25 +05:30 committed by Kevin Walls
parent 1feaca45a7
commit ae7369442a
4 changed files with 204 additions and 0 deletions

View file

@ -1423,6 +1423,13 @@ public:
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, \