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

ZGC: gc/cslocker/TestCSLocker.java failed with "OutOfMemoryError: Java heap space"

XMLWordPrintable

    • gc

      The following test failed in the JDK17 CI in the UT enabled pool:

      gc/cslocker/TestCSLocker.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/203)----------
      command: main -Xmx256m gc.cslocker.TestCSLocker
      reason: User specified action: run main/native/othervm -Xmx256m gc.cslocker.TestCSLocker
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 5.355
      ----------configuration:(0/0)----------
      ----------System.out:(5/60)----------
      sleeping...
      sleeping...
      sleeping...
      sleeping...
      sleeping...
      ----------System.err:(4/199)----------
      STATUS:Passed.
      java.lang.OutOfMemoryError: Java heap space
      at gc.cslocker.GarbageProducer.run(TestCSLocker.java:78)
      STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: Java heap space
      ----------rerun:(37/6755)*----------

      The test task's JVM args are: -XX:+CreateCoredumpOnCrash -XX:+UseZGC

            pliden Per Liden (Inactive)
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: