JDK-8154713 : incorrect XxxOnOutOfMemoryError options in release notes
  • Type: Bug
  • Component: docs
  • Sub-Component: release_notes
  • Affected Version: 8u92
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-04-20
  • Updated: 2016-04-25
  • Resolved: 2016-04-25
Related Reports
Relates :  
Relates :  
Description
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)
===
Comments
Change has been made in the Release Notes and published.
20-04-2016

Correction in the Release Notes has been made. The description in JDK-8152669 used to create the Release Note needs to be updated as well.
20-04-2016