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

nsk/jvmti/scenarios/capability/CM01/cm01t007 failed with IllegalMonitorStateException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • 18
    • hotspot
    • x86_64
    • linux

      The following test failed in the JDK18 CI:

      vmTestbase/nsk/jvmti/scenarios/capability/CM01/cm01t007/TestDescription.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/287)----------
      command: main -agentlib:cm01t007=-waittime=5 nsk.jvmti.scenarios.capability.CM01.cm01t007
      reason: User specified action: run main/othervm/native -agentlib:cm01t007=-waittime=5 nsk.jvmti.scenarios.capability.CM01.cm01t007
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 0.404
      ----------configuration:(0/0)----------
      ----------System.out:(3/242)----------
      ThreadState(thread='MainThread', state='init') waiting for state debuggeWaiting
      ThreadState(thread='Debuggee Thread', state='init') set state to debuggeWaiting
      ThreadState(thread='MainThread', state='debuggeWaiting') got state debuggeWaiting
      ----------System.err:(8/631)----------
      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:1007)
      at java.base/java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:494)
      at nsk.share.jvmti.ThreadState.setState(ThreadState.java:58)
      at nsk.jvmti.scenarios.capability.CM01.cm01t007Thread.delay(cm01t007.java:124)
      at nsk.jvmti.scenarios.capability.CM01.cm01t007Thread.run(cm01t007.java:119)
      STATUS:Failed.`main' threw exception: java.lang.IllegalMonitorStateException
      ----------rerun:(36/7811)*----------


      The JVM args for the test task are: -XX:-UseCompressedOops

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: