Print warning if VM reaches MallocLimit during error reporting

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: 22
    • Component/s: 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)

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

              Created:
              Updated:
              Resolved: