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

incorrect XxxOnOutOfMemoryError options in release notes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u92
    • Fix Version/s: None
    • Component/s: docs
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: