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

[TESTBUG] java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java timed out intermittently

XMLWordPrintable

        java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java timed out intermittently.

        See log from nightly build 1.9.0-ea-langtools-nightly-h2781-20150601-b67

        #section:main
        ----------messages:(124/6854)----------
        command: main ThreadMXBeanStateTest
        reason: User specified action: run main ThreadMXBeanStateTest
        Timeout signalled after 480 seconds
        Timeout information:
        Running jstack on process 6473
        2015-06-01 19:10:16
        Full thread dump Java HotSpot(TM) 64-Bit Server VM (1.9.0-ea-langtools-nightly-h2781-20150601-b67 mixed mode):

        "Attach Listener" #203 daemon prio=9 os_prio=0 tid=0x00002aaae4001000 nid=0x24dd waiting on condition [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "StateChanger" #202 daemon prio=5 os_prio=0 tid=0x00002aab1c00e800 nid=0x2450 runnable [0x00002aab401ff000]
           java.lang.Thread.State: RUNNABLE
        at java.lang.ClassLoader.findLoadedClass0(Native Method)
        at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:1030)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:405)
        - locked <0x00000000e0c35af8> (a java.lang.Object)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:262)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:410)
        - locked <0x00000000fa1cfff0> (a java.lang.Object)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at ThreadStateController.run(ThreadStateController.java:122)

        "SameVMThread" #201 prio=5 os_prio=0 tid=0x00002aaab0348000 nid=0x244f waiting for monitor entry [0x00002aaae3746000]
           java.lang.Thread.State: BLOCKED (on object monitor)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:403)
        - waiting to lock <0x00000000fa1cfff0> (a java.lang.Object)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at jdk.testlibrary.Utils.adjustTimeout(Utils.java:281)
        at ThreadStateController.pause(ThreadStateController.java:77)
        at ThreadMXBeanStateTest.main(ThreadMXBeanStateTest.java:78)
        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:502)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
        at java.lang.Thread.run(Thread.java:745)

        "MyThread" #75 daemon prio=5 os_prio=0 tid=0x00002aab1400b000 nid=0x204c in Object.wait() [0x00002aaae19b9000]
           java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000e162ce18> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:508)
        at ThreadMXBeanProxy$MyThread.run(ThreadMXBeanProxy.java:117)
        - locked <0x00000000e162ce18> (a java.lang.Object)
        - locked <0x00000000e15cba68> (a java.lang.Object)

        "pool-1-thread-1" #10 daemon prio=5 os_prio=0 tid=0x00002aaab015b000 nid=0x195c waiting on condition [0x00002aaae0ed2000]
           java.lang.Thread.State: TIMED_WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for <0x00000000e0ac85d8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

        "Service Thread" #9 daemon prio=9 os_prio=0 tid=0x00002aaab00cb800 nid=0x1957 runnable [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "Sweeper thread" #8 daemon prio=9 os_prio=0 tid=0x00002aaab00ae800 nid=0x1956 runnable [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "C1 CompilerThread2" #7 daemon prio=9 os_prio=0 tid=0x00002aaab00ad000 nid=0x1955 waiting on condition [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "C2 CompilerThread1" #6 daemon prio=9 os_prio=0 tid=0x00002aaab00aa000 nid=0x1954 waiting on condition [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "C2 CompilerThread0" #5 daemon prio=9 os_prio=0 tid=0x00002aaab00a8000 nid=0x1953 waiting on condition [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00002aaab00a6000 nid=0x1952 runnable [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00002aaab007e800 nid=0x1951 in Object.wait() [0x00002aaac3e90000]
           java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000e0ad7240> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
        - locked <0x00000000e0ad7240> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:213)

        "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00002aaab007c800 nid=0x1950 in Object.wait() [0x00002aaac3d8f000]
           java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000e0ad7280> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:508)
        at java.lang.ref.Reference.tryHandlePending(Reference.java:192)
        - locked <0x00000000e0ad7280> (a java.lang.ref.Reference$Lock)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:154)

        "main" #1 prio=5 os_prio=0 tid=0x00002aaab0009800 nid=0x194a in Object.wait() [0x00002aaaaabed000]
           java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000fa01f5f0> (a java.lang.Thread)
        at java.lang.Thread.join(Thread.java:1249)
        - locked <0x00000000fa01f5f0> (a java.lang.Thread)
        at java.lang.Thread.join(Thread.java:1323)
        at com.sun.javatest.regtest.agent.MainActionHelper.runClass(MainActionHelper.java:127)
        at com.sun.javatest.regtest.agent.AgentServer.doMain(AgentServer.java:215)
        at com.sun.javatest.regtest.agent.AgentServer.run(AgentServer.java:165)
        at com.sun.javatest.regtest.Agent.main(Agent.java:87)

        "VM Thread" os_prio=0 tid=0x00002aaab006a000 nid=0x194f runnable

        "ParGC Thread#0" os_prio=0 tid=0x00002aaab001e800 nid=0x194b runnable

        "ParGC Thread#1" os_prio=0 tid=0x00002aaab0020000 nid=0x194c runnable

        "ParGC Thread#2" os_prio=0 tid=0x00002aaab0022000 nid=0x194d runnable

        "ParGC Thread#3" os_prio=0 tid=0x00002aaab0023800 nid=0x194e runnable

        "VM Periodic Task Thread" os_prio=0 tid=0x00002aaab00cd800 nid=0x1958 waiting on condition

        JNI global references: 493

        --- Timeout information end.
        elapsed time (seconds): 480.413

          There are no Sub-Tasks for this issue.

              dtitov Daniil Titov (Inactive)
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: