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

ThreadRunner shouldn't use Wicket for threads starting synchronization

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • b18
    • x86_64
    • os_x

      The following tests failed in the JDK15 CI:

      vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock02/TestDescription.java
      vmTestbase/vm/gc/compact/Humongous_NonbranchyTree/TestDescription.java
      vmTestbase/gc/lock/malloc/malloclock03/TestDescription.java
      vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock02/TestDescription.java
      vmTestbase/gc/lock/jniref/jnireflock04/TestDescription.java

      These tests failed due to either "java.lang.IllegalMonitorStateException"
      or "java.lang.OutOfMemoryError" or both. These failure happened on
      several different test machines in the same Tier8 job set, but not the
      same task.

      Here's a snippet from one of the jvmtialloclock02 failure logs:

      ----------System.err:(54/3817)----------

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "gc.lock.LockerTest$Worker@14ccfd4a"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "gc.lock.LockerTest$Worker@5dceaa80"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "gc.lock.LockerTest$Worker@747fbb5a"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "gc.lock.LockerTest$Worker@4c5f88cc"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "gc.lock.LockerTest$Worker@3c224189"
      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:1006)
      at java.base/java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:494)
      at nsk.share.Wicket.waitFor(Wicket.java:134)
      at nsk.share.runner.ThreadsRunner$ManagedThread.run(ThreadsRunner.java:100)
      at java.base/java.lang.Thread.run(Thread.java:832)
      java.lang.OutOfMemoryError: Java heap space


      Here's a snippet from one of the Humongous_NonbranchyTree logs:

      ----------System.err:(24/1758)----------
      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:1006)
      at java.base/java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:494)
      at nsk.share.Wicket.waitFor(Wicket.java:134)
      at nsk.share.runner.ThreadsRunner$ManagedThread.run(ThreadsRunner.java:100)
      at java.base/java.lang.Thread.run(Thread.java:832)
      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:1006)
      at java.base/java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:494)
      at nsk.share.Wicket.waitFor(Wicket.java:134)
      at nsk.share.runner.ThreadsRunner$ManagedThread.run(ThreadsRunner.java:100)
      at java.base/java.lang.Thread.run(Thread.java:832)
      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:1006)
      at java.base/java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:494)
      at nsk.share.Wicket.waitFor(Wicket.java:134)
      at nsk.share.runner.ThreadsRunner$ManagedThread.run(ThreadsRunner.java:100)
      at java.base/java.lang.Thread.run(Thread.java:832)
      STATUS:Failed.STATUS:Failed.STATUS:Failed.`main' threw exception: java.lang.IllegalMonitorStateException
      `main' threw exception: java.lang.IllegalMonitorStateException
      `main' threw exception: java.lang.IllegalMonitorStateException
      ----------rerun:(43/6871)*----------


      Here's a snippet from the malloclock03 log:

      ----------System.err:(2/126)----------
      java.lang.OutOfMemoryError: Java heap space
      STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: Java heap space
      ----------rerun:(44/6865)*----------


      Unfortunately, the Tier8 has 77 changesets in it so
      it's not going to be easy to narrow this one down.

            lmesnik Leonid Mesnik
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: