incorrect XxxOnOutOfMemoryError options in release notes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • None
    • Affects Version/s: 8u92
    • Component/s: 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)
      ===

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

              Created:
              Updated:
              Resolved: