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

ExitOnOutOfMemory doesn't work well for outof memory error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 8u92
    • hotspot
    • None

    Description

      New Vm option ExitOnOutOfMemory doesn't work well, when we tried to create multiple threads in a loop. In this case it failed to allocate memory and OOM occurs. Instead of crashing progrma keep running

      Attachments

        1. Test.java
          0.5 kB
          Fairoz Matte

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fmatte Fairoz Matte
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: