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

incorrect XxxOnOutOfMemoryError options in release notes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • None
    • 8u92
    • docs
    • 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)
      ===

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

              Created:
              Updated:
              Resolved: