Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8138745 Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
  3. JDK-8152669

Release Note: New JVM Options: ExitOnOutOfMemoryError and CrashOnOutOfMemoryError

    Details

    • Subcomponent:
    • Verification:
      Verified

      Backports

        Description

        Two new JVM flags have been added:

        ExitOnOutOfMemoryError
        When you enable this option, the JVM exits on the first occurrence of an out-of-memory error. It can be used if you prefer restarting an instance of the JVM rather than handling out of memory errors.

        CrashOnOutOfMemoryError
        If this option is enabled, when an out-of-memory error occurs, the JVM crashes and produces text and binary crash files (if core files are enabled).

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  cwayne Clifford Wayne
                  Reporter:
                  mcastegr Mattis Castegren (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: