runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails with unexpected amount for Java Heap reserved memory

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • master

      In JDK-8364741, this test was failing at ASAN builds due to some memory adjustments done by GC which led to larger amounts of reserved memory.
      The test fails even in non-ASAN build here.
      stdout :

      Native Memory Tracking:

      (Omitting categories weighting less than 1KB)

      Total: reserved=747884KB, committed=144492KB
             malloc: 21628KB #19213, peak=21345KB #19178
             mmap: reserved=726256KB, committed=122864KB

      - Java Heap (reserved=73728KB, committed=65536KB)
                                  (mmap: reserved=73728KB, committed=65536KB, at peak)

      error:
      java.lang.RuntimeException: 'Java Heap (reserved=65536KB, committed=65536KB)' missing from stdout/stderr

            Assignee:
            Paul Hübner
            Reporter:
            Afshin Zafari
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: