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

Parallel: Parallel GC throws OOM before heap is fully expanded

    XMLWordPrintable

Details

    • gc
    • b16
    • Fix failed

    Backports

      Description

        Run 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=1541406720)
                                    (mmap: reserved=2147483648, committed=1541406720, peak=2147483648)
         

        The heap has not yet fully expanded.

        Attachments

          Issue Links

            Activity

              People

                zgu Zhengyu Gu
                zgu Zhengyu Gu
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: