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

Few of test/java/lang/management/ThreadMXBean/* tests don't clean up the created threads

    XMLWordPrintable

Details

    Description


      This test leaves a number of threads behind when run in samevm or agentvm mode. These threads should terminate at the end of the test or alternative be changed to run in othervm mode.

      "Thread-3109" #4912 daemon prio=5 os_prio=0 tid=0x26186000 nid=0x206c waiting on condition [0x2a0bf000]
         java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)
      - parking to wait for <0x107ea108> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2038)
      at SynchronizerLockingThread$Thread2.run(SynchronizerLockingThread.java:348)

      "Thread-3108" #4911 daemon prio=5 os_prio=0 tid=0x26182c00 nid=0x1a6c in Object.wait() [0x2587f000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at SynchronizerLockingThread$Thread1.D(SynchronizerLockingThread.java:296)
      - locked <0x107ea120> (a SynchronizerLockingThread$Lock)
      at SynchronizerLockingThread$Thread1.C(SynchronizerLockingThread.java:288)
      - locked <0x107ea1c8> (a SynchronizerLockingThread$Lock)
      at SynchronizerLockingThread$Thread1.B(SynchronizerLockingThread.java:280)
      - locked <0x107ea1d8> (a SynchronizerLockingThread$Lock)
      at SynchronizerLockingThread$Thread1.A(SynchronizerLockingThread.java:265)
      at SynchronizerLockingThread$Thread1.run(SynchronizerLockingThread.java:256)

      Attachments

        Activity

          People

            jbachorik Jaroslav BachorĂ­k
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: