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

threads stuck trying to acquire unowned reentrantlock

XMLWordPrintable

      The submitter's Server enters into a critical state with several threads stuck in attempting to acquire lock java.util.concurrent.locks.ReentrantLock$NonfairSync

      Error-Stack Obtained / Diagnostic Analysis:
      -------------------------------------------
      java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)
      - parking to wait for <0x00000006a79c1a48> (a
      java.util.concurrent.locks.ReentrantLock$NonfairSync)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:867)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1197)
      at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:214)
      at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290)
      at oracle.jbo.mom.DefinitionContext.lock(DefinitionContext.java:550)
      at oracle.jbo.mom.DefinitionManager.getSiteLock(DefinitionManager.java:4710)
      at oracle.jbo.mom.DefinitionManager.lockDefinitionContext(DefinitionManager.java:4667)
      at oracle.jbo.mom.DefinitionContextAgeable.cleanNullRefs(DefinitionContextAgeable.java:253)


      Although these logs don't show the threads stuck on lock NonfairSync there
      are several threads waiting for the NonfairSync lock but no thread in the
      logs is holding that lock (0x00000006a79c1a48) .

            robm Robert Mckenna
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: