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

Fix failed for 8328744:Parallel GC throws OOM before heap is fully expanded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • 23
    • 22.0.2, 23
    • hotspot
    • gc

      Ran attached test case with following command line:
      -Xmx2G -XX:+UseParallelGC -XX:NativeMemoryTracking=summary -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMTStatistics gc

      After test is terminated with OOM, NMT statistics shows:
      - Java Heap (reserved=2147483648, committed=1270874112)
                                  (mmap: reserved=2147483648, committed=1270874112, peak=2147483648)

       The heap has not yet fully expanded.


      Verification Results from different platforms:

      Mac-aarch64
      Before fix-22.0.2+3 - FAIL
      After fix-22.0.2+4 - PASS

      Before fix 23-b15 - FAIL
      After fix 23-b16 - PASS

      Result from fixed version 23-b16 in Mac-aarch64
       Java Heap (reserved=2147483648, committed=2147483648)
                                  (mmap: reserved=2147483648, committed=2147483648, at peak)
      Heap is fully expanded.

      Linux-aarch64
      Fixed version 22.0.2+4 - FAIL
      Fixed version 23-b16 - FAIL

      linux-x64
      Fixed version 22.0.2+4 - FAIL
      Fixed version 23-b16 - FAIL

      Windows
      Fixed version 22.0.2+4 - FAIL
      Fixed version 23-b16 - FAIL
      When we tried running multiple times in windows platform, it passed once out of 6times.

            zgu Zhengyu Gu
            kks Kavya K S
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: