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

Print warning if VM reaches MallocLimit during error reporting

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 22
    • hotspot
    • b15

      -XX:MallocLimit is very handy to analyze runaway allocation scenarios that lead to silent OOM kills. But we silence this option if the limit break happens inside error reporting. That makes sense, since we want uninterrupted hs-err files even if the hs-err file was the result of a malloc limit break.

      However, it would still be useful to have at least a warning here, for the special case that we want to catch OOM kills that happen inside - as a result of - error reporting (see JDK-8275677)

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: