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

ZGC runs out of memory with appcds GCDuringDump.java on linux/aarch64

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      This test should not run out of memory. The tests specifies a 32MB heap. When running on Linux/x64, the heap usage is never over 50% after GC finishes.

      However, in one recent mach5 run on linux/aarch64, we get lots of OOM and eventually CDS dumping failed due to JDK-8254309:

      $ grep ZHeap hs_err_pid22387.log
       ZHeap used 32M, capacity 32M, max capacity 32M
       ZHeap used 32M, capacity 32M, max capacity 32M
       ZHeap used 32M, capacity 32M, max capacity 32M
       ....

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pliden Per Liden
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: