Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8154713

incorrect XxxOnOutOfMemoryError options in release notes

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 8u92
    • None
    • docs
    • None

    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)
      ===

      Attachments

        Issue Links

          Activity

            People

              cwayne Clifford Wayne
              dbuck David Buck
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: