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

java/util/concurrent/locks/Lock/OOMEInAQS.java failed with IllegalMonitorStateException

XMLWordPrintable

      The following test failed in the JDK22 CI:

      java/util/concurrent/locks/Lock/OOMEInAQS.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(6/321)----------
      command: main -XX:-UseGCOverheadLimit -Xmx48M -XX:-UseTLAB OOMEInAQS
      reason: User specified action: run main/othervm -XX:-UseGCOverheadLimit -Xmx48M -XX:-UseTLAB OOMEInAQS
      started: Thu Sep 07 03:57:15 UTC 2023
      Mode: othervm [/othervm specified]
      finished: Thu Sep 07 03:57:21 UTC 2023
      elapsed time (seconds): 5.533
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(10/577)----------
      java.lang.IllegalMonitorStateException
      at java.base/java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:175)
      at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1059)
      at java.base/java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:494)
      at OOMEInAQS.run(OOMEInAQS.java:108)

      JavaTest Message: Test threw exception: java.lang.IllegalMonitorStateException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.IllegalMonitorStateException
      ----------rerun:(45/5642)*----------

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

            vklang Viktor Klang
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: