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

com/sun/management/HotSpotDiagnosticMXBean/DumpHeap.java timeout intermittently

XMLWordPrintable

      com/sun/management/HotSpotDiagnosticMXBean/DumpHeap.java timeout intermittently

      command: main DumpHeap
      reason: User specified action: run main DumpHeap
      Mode: agentvm
      Timeout signalled after 480 seconds
      Timeout information:
      Running jstack on process 45544
      2016-06-12 12:46:09
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (9-ea+122 mixed mode):

      "Attach Listener" #16 daemon prio=9 os_prio=64 tid=0x0000000100503800 nid=0x19 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "SameVMThread" #14 prio=5 os_prio=64 tid=0x00000001009e9800 nid=0x18 runnable [0xffffffff5d4ed000]
         java.lang.Thread.State: RUNNABLE
      at java.io.RandomAccessFile.read0(java.base@9-ea/Native Method)
      at java.io.RandomAccessFile.read(java.base@9-ea/RandomAccessFile.java:359)
      at java.io.RandomAccessFile.readInt(java.base@9-ea/RandomAccessFile.java:825)
      at jdk.test.lib.hprof.parser.FileReadBuffer.getInt(FileReadBuffer.java:77)
      - locked <0x00000007a03de6d0> (a jdk.test.lib.hprof.parser.FileReadBuffer)
      at jdk.test.lib.hprof.model.JavaObject.readValue(JavaObject.java:227)
      at jdk.test.lib.hprof.model.JavaLazyReadObject.getValue(JavaLazyReadObject.java:72)
      at jdk.test.lib.hprof.model.JavaObject.getFields(JavaObject.java:117)
      at jdk.test.lib.hprof.model.JavaObject.visitReferencedObjects(JavaObject.java:142)
      at jdk.test.lib.hprof.model.Snapshot.calculateReferencesToObjects(Snapshot.java:323)
      at jdk.test.lib.hprof.model.Snapshot.resolve(Snapshot.java:291)
      at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:87)
      at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:54)
      at DumpHeap.verifyDumpFile(DumpHeap.java:68)
      at DumpHeap.main(DumpHeap.java:60)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

      "pool-1-thread-1" #11 daemon prio=5 os_prio=64 tid=0x00000001006a1800 nid=0x15 waiting on condition [0xffffffff5e9ee000]
         java.lang.Thread.State: TIMED_WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base@9-ea/Native Method)
      - parking to wait for <0x00000007a011e788> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.parkNanos(java.base@9-ea/LockSupport.java:230)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(java.base@9-ea/AbstractQueuedSynchronizer.java:2106)
      at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@9-ea/ScheduledThreadPoolExecutor.java:1131)
      at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@9-ea/ScheduledThreadPoolExecutor.java:848)
      at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@9-ea/ThreadPoolExecutor.java:1083)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1143)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

      "Service Thread" #10 daemon prio=9 os_prio=64 tid=0x000000010056c800 nid=0x13 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Common-Cleaner" #9 daemon prio=8 os_prio=64 tid=0x00000001003e6800 nid=0x12 in Object.wait() [0xffffffff5eeee000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000007a011eb68> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000007a011eb68> (a java.lang.ref.ReferenceQueue$Lock)
      at jdk.internal.ref.CleanerImpl.run(java.base@9-ea/CleanerImpl.java:148)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
      at jdk.internal.misc.InnocuousThread.run(java.base@9-ea/InnocuousThread.java:122)

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

      "C1 CompilerThread1" #7 daemon prio=9 os_prio=64 tid=0x000000010034b000 nid=0x10 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread0" #6 daemon prio=9 os_prio=64 tid=0x0000000100349000 nid=0xf waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "Signal Dispatcher" #5 daemon prio=9 os_prio=64 tid=0x0000000100347000 nid=0xe runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Reference Pending List Locker" #4 daemon prio=9 os_prio=64 tid=0x0000000100345800 nid=0xd waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Finalizer" #3 daemon prio=8 os_prio=64 tid=0x0000000100335000 nid=0xc in Object.wait() [0xffffffff60bef000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000007a011f4e0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000007a011f4e0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:172)
      at java.lang.ref.Finalizer$FinalizerThread.run(java.base@9-ea/Finalizer.java:216)

      "Reference Handler" #2 daemon prio=10 os_prio=64 tid=0x0000000100324000 nid=0xb in Object.wait() [0xffffffff62dcf000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000007a011f698> (a java.lang.ref.Reference$Lock)
      at java.lang.Object.wait(java.base@9-ea/Object.java:516)
      at java.lang.ref.Reference.tryHandlePending(java.base@9-ea/Reference.java:193)
      - waiting to re-lock in wait() <0x00000007a011f698> (a java.lang.ref.Reference$Lock)
      at java.lang.ref.Reference$ReferenceHandler.run(java.base@9-ea/Reference.java:155)

      "main" #1 prio=5 os_prio=64 tid=0x0000000100207800 nid=0x2 in Object.wait() [0xffffffff7c9ef000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <0x00000007a02c4558> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@9-ea/Thread.java:1352)
      - waiting to re-lock in wait() <0x00000007a02c4558> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@9-ea/Thread.java:1426)
      at com.sun.javatest.regtest.agent.MainActionHelper.runClass(MainActionHelper.java:130)
      at com.sun.javatest.regtest.agent.AgentServer.doMain(AgentServer.java:233)
      at com.sun.javatest.regtest.agent.AgentServer.run(AgentServer.java:182)
      at com.sun.javatest.regtest.agent.AgentServer.main(AgentServer.java:59)

      "VM Thread" os_prio=64 tid=0x0000000100319000 nid=0xa runnable

      "GC Thread#0" os_prio=64 tid=0x0000000100203800 nid=0x3 runnable

      "GC Thread#1" os_prio=64 tid=0x00000001001f8000 nid=0x4 runnable

      "G1 Main Marker" os_prio=64 tid=0x0000000100223800 nid=0x8 runnable

      "G1 Marker#0" os_prio=64 tid=0x0000000100218800 nid=0x9 runnable

      "G1 Refine#0" os_prio=64 tid=0x00000001001fa800 nid=0x6 runnable

      "G1 Refine#1" os_prio=64 tid=0x00000001001f9000 nid=0x5 runnable

      "G1 Young RemSet Sampling" os_prio=64 tid=0x00000001001fc000 nid=0x7 runnable

      "VM Periodic Task Thread" os_prio=64 tid=0x000000010056e800 nid=0x14 waiting on condition

      JNI global references: 832

      --- Timeout information end.

            Unassigned Unassigned
            mli Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: