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

Linux i586 test case failure: java/lang/management/ThreadMXBean/FindDeadlocks.java

    XMLWordPrintable

    Details

      Description

      Linux i586 test case failure: java/lang/management/ThreadMXBean/FindDeadlocks.java

      --------------------------------------------------
      TEST: java/lang/management/ThreadMXBean/FindDeadlocks.java
      JDK under test: (/tmp/jprt/T1/T/220750.ohair/testproduct/linux_i586_2.4-product)
      java version "1.7.0-2009-04-02-220750.ohair.jdk"
      Java(TM) SE Runtime Environment (build 1.7.0-2009-04-02-220750.ohair.jdk-jprtadm_2009_04_02_16_11-b00)
      Java HotSpot(TM) Server VM (build 15.0-b03, mixed mode)

      ACTION: build -- Passed. Build successful
      REASON: User specified action: run build MonitorDeadlock
      TIME: 0.779 seconds
      messages:
      command: build MonitorDeadlock
      reason: User specified action: run build MonitorDeadlock
      elapsed time (seconds): 0.779

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.779 seconds
      messages:
      command: compile /tmp/jprt/T1/T/220750.ohair/source/test/java/lang/management/ThreadMXBean/MonitorDeadlock.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.779
      STDOUT:
      STDERR:

      ACTION: build -- Passed. Build successful
      REASON: User specified action: run build SynchronizerDeadlock
      TIME: 0.999 seconds
      messages:
      command: build SynchronizerDeadlock
      reason: User specified action: run build SynchronizerDeadlock
      elapsed time (seconds): 0.999

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.999 seconds
      messages:
      command: compile /tmp/jprt/T1/T/220750.ohair/source/test/java/lang/management/ThreadMXBean/SynchronizerDeadlock.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.999
      STDOUT:
      STDERR:

      ACTION: build -- Passed. All files up to date
      REASON: User specified action: run build ThreadDump
      TIME: 0.0 seconds
      messages:
      command: build ThreadDump
      reason: User specified action: run build ThreadDump
      elapsed time (seconds): 0.0

      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.787 seconds
      messages:
      command: build FindDeadlocks
      reason: Named class compiled on demand
      elapsed time (seconds): 0.787

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.787 seconds
      messages:
      command: compile /tmp/jprt/T1/T/220750.ohair/source/test/java/lang/management/ThreadMXBean/FindDeadlocks.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.787
      STDOUT:
      STDERR:

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to have 3 to be in the deadlock list
      REASON: User specified action: run main FindDeadlocks
      TIME: 0.848 seconds
      messages:
      command: main FindDeadlocks
      reason: User specified action: run main FindDeadlocks
      elapsed time (seconds): 0.848
      STDOUT:
      Full Java thread dump
      "Deadlock-Thread-3" Id=14 in WAITING on lock=java.util.concurrent.locks.ReentrantLock$NonfairSync@201f9
          owned by Deadlock-Thread-1 Id=12
         at sun.misc.Unsafe.park(Native Method)
         at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:769)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:802)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1132)
         at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:214)
         at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290)
         at SynchronizerDeadlock$DeadlockingThread.g(SynchronizerDeadlock.java:118)
         at SynchronizerDeadlock$DeadlockingThread.f(SynchronizerDeadlock.java:111)
         at SynchronizerDeadlock$DeadlockingThread.run(SynchronizerDeadlock.java:104)

         Locked synchronizers: count = 1
           - java.util.concurrent.locks.ReentrantLock$NonfairSync@109a4c

      "Deadlock-Thread-2" Id=13 in WAITING on lock=java.util.concurrent.locks.ReentrantLock$NonfairSync@109a4c
          owned by Deadlock-Thread-3 Id=14
         at sun.misc.Unsafe.park(Native Method)
         at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:769)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:802)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1132)
         at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:214)
         at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290)
         at SynchronizerDeadlock$DeadlockingThread.g(SynchronizerDeadlock.java:118)
         at SynchronizerDeadlock$DeadlockingThread.f(SynchronizerDeadlock.java:111)
         at SynchronizerDeadlock$DeadlockingThread.run(SynchronizerDeadlock.java:104)

         Locked synchronizers: count = 1
           - java.util.concurrent.locks.ReentrantLock$NonfairSync@1cf8583

      "Deadlock-Thread-1" Id=12 in WAITING on lock=java.util.concurrent.locks.ReentrantLock$NonfairSync@1cf8583
          owned by Deadlock-Thread-2 Id=13
         at sun.misc.Unsafe.park(Native Method)
         at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:769)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:802)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1132)
         at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:214)
         at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290)
         at SynchronizerDeadlock$DeadlockingThread.g(SynchronizerDeadlock.java:118)
         at SynchronizerDeadlock$DeadlockingThread.f(SynchronizerDeadlock.java:111)
         at SynchronizerDeadlock$DeadlockingThread.run(SynchronizerDeadlock.java:104)

         Locked synchronizers: count = 1
           - java.util.concurrent.locks.ReentrantLock$NonfairSync@201f9

      "MThread-3" Id=11 in BLOCKED on lock=java.lang.Object@901887
          owned by MThread-1 Id=9
         at MonitorDeadlock$DeadlockingThread.g(MonitorDeadlock.java:116)
         at MonitorDeadlock$DeadlockingThread.f(MonitorDeadlock.java:110)
           - locked java.lang.Object@14693c7
         at MonitorDeadlock$DeadlockingThread.run(MonitorDeadlock.java:104)

         Locked synchronizers: count = 0

      "MThread-2" Id=10 in BLOCKED on lock=java.lang.Object@14693c7
          owned by MThread-3 Id=11
         at MonitorDeadlock$DeadlockingThread.g(MonitorDeadlock.java:116)
         at MonitorDeadlock$DeadlockingThread.f(MonitorDeadlock.java:110)
           - locked java.lang.Object@3a6727
         at MonitorDeadlock$DeadlockingThread.run(MonitorDeadlock.java:104)

         Locked synchronizers: count = 0

      "MThread-1" Id=9 in BLOCKED on lock=java.lang.Object@3a6727
          owned by MThread-2 Id=10
         at MonitorDeadlock$DeadlockingThread.g(MonitorDeadlock.java:116)
         at MonitorDeadlock$DeadlockingThread.f(MonitorDeadlock.java:110)
           - locked java.lang.Object@901887
         at MonitorDeadlock$DeadlockingThread.run(MonitorDeadlock.java:104)

         Locked synchronizers: count = 0

      "MainThread" Id=8 in RUNNABLE
         at sun.management.ThreadImpl.dumpThreads0(Native Method)
         at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:395)
         at ThreadDump.threadDump(ThreadDump.java:102)
         at SynchronizerDeadlock.checkResult(SynchronizerDeadlock.java:125)
         at FindDeadlocks.main(FindDeadlocks.java:99)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:623)
         at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
         at java.lang.Thread.run(Thread.java:717)

         Locked synchronizers: count = 0

      "Signal Dispatcher" Id=4 in RUNNABLE

         Locked synchronizers: count = 0

      "Finalizer" Id=3 in WAITING on lock=java.lang.ref.ReferenceQueue$Lock@4a65e0
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:133)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:149)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)

         Locked synchronizers: count = 0

      "Reference Handler" Id=2 in WAITING on lock=java.lang.ref.Reference$Lock@665753
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:502)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)

         Locked synchronizers: count = 0

      "main" Id=1 in WAITING on lock=java.lang.Thread@ef22f8
         at java.lang.Object.wait(Native Method)
         at java.lang.Thread.join(Thread.java:1269)
         at java.lang.Thread.join(Thread.java:1343)
         at com.sun.javatest.regtest.MainWrapper.main(MainWrapper.java:71)

         Locked synchronizers: count = 0

      STDERR:
      java.lang.RuntimeException: Expected to have 3 to be in the deadlock list
      at SynchronizerDeadlock.checkResult(SynchronizerDeadlock.java:126)
      at FindDeadlocks.main(FindDeadlocks.java:99)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to have 3 to be in the deadlock list
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to have 3 to be in the deadlock list

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to have 3 to be in the deadlock list
      --------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ohair Kelly Ohair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: