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

vmTestbase/nsk/jvmti/StopThread/stopthrd007/TestDescription.java Could not initialize class java.util.concurrent.locks.LockSupport

XMLWordPrintable

      An intermittent issue with one of the tests.

      java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.locks.LockSupport
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)
      at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:209)
      at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285)
      at nsk.share.Wicket.unlock(Wicket.java:212)
      at nsk.jvmti.StopThread.stopthrd007ThreadRunning.run(stopthrd007.java:195)
      Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.ThreadDeath [in thread "DebuggeeRunningThread"]
      java.lang.IllegalMonitorStateException
      at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:151)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1261)
      at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:457)
      at nsk.share.Wicket.waitFor(Wicket.java:195)
      at nsk.jvmti.StopThread.stopthrd007.runIt(stopthrd007.java:87)
      at nsk.jvmti.StopThread.stopthrd007.run(stopthrd007.java:43)
      at nsk.jvmti.StopThread.stopthrd007.main(stopthrd007.java:38)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.lang.Thread.run(Thread.java:750)

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

      A comment to a similar issue JDK-8138609 suggests that we might be running out of memory here.

            Unassigned Unassigned
            ibereziuk Ivan Bereziuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: