NMT: Rework MallocLimit

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 20
    • Component/s: hotspot
    • b11

      Today, MallocLimit will end the VM with a fatal error if the malloc limit is reached.

      For regression- and stability tests it would be useful to use `-XX:MallocLimit` to inject native OOMs (cause malloc to return NULL).

      This is also the prerequisite to get rid of the `MallocMaxTestWords` machinery (see https://bugs.openjdk.org/browse/JDK-8293292) by replacing it with MallocLimit.

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

              Created:
              Updated:
              Resolved: