-
Bug
-
Resolution: Fixed
-
P2
-
None
-
8u92
-
None
Release notes for 8u92 refer to "ExitOnOutOfMemory" and "CrashOnOutOfMemory" options. The correct options are "ExitOnOutOfMemoryError" and "CrashOnOutOfMemoryError"
=== example
$ java -XX:+CrashOnOutOfMemory -version
Unrecognized VM option 'CrashOnOutOfMemory'
Did you mean '(+/-)CrashOnOutOfMemoryError'?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
$ java -XX:+CrashOnOutOfMemoryError -version
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)
===
=== example
$ java -XX:+CrashOnOutOfMemory -version
Unrecognized VM option 'CrashOnOutOfMemory'
Did you mean '(+/-)CrashOnOutOfMemoryError'?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
$ java -XX:+CrashOnOutOfMemoryError -version
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)
===
- relates to
-
JDK-8152669 Release Note: New JVM Options: ExitOnOutOfMemoryError and CrashOnOutOfMemoryError
- Closed
-
JDK-8155004 CrashOnOutOfMemoryError doesn't work for OOM caused by inability to create threads
- Closed