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

NMT: Rework MallocLimit

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 20
    • 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.

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

              Created:
              Updated:
              Resolved: