1 Star 0 Fork 0

yjz_uuid / Spring_Source_Code_Learning

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
死锁.dump 5.87 KB
Copy Edit Web IDE Raw Blame History
yuanjinzhong authored 2020-09-23 20:27 . 线程学习
2020-09-23 18:32:21
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.231-b11 mixed mode):
"DestroyJavaVM" #16 prio=5 os_prio=0 tid=0x00000000035d9000 nid=0x425c waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Thread-1" #15 prio=5 os_prio=0 tid=0x0000000020115000 nid=0x1a54 waiting for monitor entry [0x0000000020c2f000]
java.lang.Thread.State: BLOCKED (on object monitor)
at com.yjz.jvm.死锁分析学习.DeathLockTest$SecondThread.run(DeathLockTest.java:33)
- waiting to lock <0x000000076b8dad78> (a java.lang.Object)
- locked <0x000000076b8dad88> (a java.lang.Object)
Locked ownable synchronizers:
- None
"Thread-0" #14 prio=5 os_prio=0 tid=0x0000000020114800 nid=0x9ac waiting for monitor entry [0x0000000020b2f000]
java.lang.Thread.State: BLOCKED (on object monitor)
at com.yjz.jvm.死锁分??学习.DeathLockTest$FirstThread.run(DeathLockTest.java:19)
- waiting to lock <0x000000076b8dad88> (a java.lang.Object)
- locked <0x000000076b8dad78> (a java.lang.Object)
Locked ownable synchronizers:
- None
"Service Thread" #13 daemon prio=9 os_prio=0 tid=0x000000001ff7a800 nid=0x3bfc runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"C1 CompilerThread3" #12 daemon prio=9 os_prio=2 tid=0x000000001ff7a000 nid=0x2504 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"C2 CompilerThread2" #11 daemon prio=9 os_prio=2 tid=0x000000001ff79000 nid=0x4054 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"C2 CompilerThread1" #10 daemon prio=9 os_prio=2 tid=0x000000001ff78800 nid=0x1e3c waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"C2 CompilerThread0" #9 daemon prio=9 os_prio=2 tid=0x000000001ff77800 nid=0x1868 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"JDWP Command Reader" #8 daemon prio=10 os_prio=0 tid=0x000000001f185000 nid=0x1f60 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"JDWP Event Helper Thread" #7 daemon prio=10 os_prio=0 tid=0x000000001f182000 nid=0x3ee0 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"JDWP Transport Listener: dt_socket" #6 daemon prio=10 os_prio=0 tid=0x000000001f171800 nid=0x3c88 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x000000001f10d800 nid=0xad4 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x000000001f16b800 nid=0x1358 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Finalizer" #3 daemon prio=8 os_prio=1 tid=0x000000001f0f0800 nid=0x43c0 in Object.wait() [0x000000001f6ce000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x000000076b308ed8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
- locked <0x000000076b308ed8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
Locked ownable synchronizers:
- None
"Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x000000001d300000 nid=0x205c in Object.wait() [0x000000001f5ce000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x000000076b306c00> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
- locked <0x000000076b306c00> (a java.lang.ref.Reference$Lock)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
Locked ownable synchronizers:
- None
"VM Thread" os_prio=2 tid=0x000000001d2f7800 nid=0x4378 runnable
"GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00000000035ee800 nid=0x3b9c runnable
"GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00000000035f0000 nid=0x416c runnable
"GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00000000035f1800 nid=0x8ec runnable
"GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00000000035f3000 nid=0x890 runnable
"GC task thread#4 (ParallelGC)" os_prio=0 tid=0x00000000035f6800 nid=0x43a8 runnable
"GC task thread#5 (ParallelGC)" os_prio=0 tid=0x00000000035f7800 nid=0x3c78 runnable
"GC task thread#6 (ParallelGC)" os_prio=0 tid=0x00000000035fb000 nid=0x1588 runnable
"GC task thread#7 (ParallelGC)" os_prio=0 tid=0x00000000035fc000 nid=0x3814 runnable
"VM Periodic Task Thread" os_prio=2 tid=0x000000002007e000 nid=0x3e7c waiting on condition
JNI global references: 1499
Found one Java-level deadlock:
=============================
"Thread-1":
waiting to lock monitor 0x000000001d3065e8 (object 0x000000076b8dad78, a java.lang.Object),
which is held by "Thread-0"
"Thread-0":
waiting to lock monitor 0x000000001d302548 (object 0x000000076b8dad88, a java.lang.Object),
which is held by "Thread-1"
Java stack information for the threads listed above:
===================================================
"Thread-1":
at com.yjz.jvm.死锁分析学习.DeathLockTest$SecondThread.run(DeathLockTest.java:33)
- waiting to lock <0x000000076b8dad78> (a java.lang.Object)
- locked <0x000000076b8dad88> (a java.lang.Object)
"Thread-0":
at com.yjz.jvm.死锁分析学习.DeathLockTest$FirstThread.run(DeathLockTest.java:19)
- waiting to lock <0x000000076b8dad88> (a java.lang.Object)
- locked <0x000000076b8dad78> (a java.lang.Object)
Found 1 deadlock.

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/yuanjinzhong_uuid/Spring_Source_Code_Learning.git
git@gitee.com:yuanjinzhong_uuid/Spring_Source_Code_Learning.git
yuanjinzhong_uuid
Spring_Source_Code_Learning
Spring_Source_Code_Learning
master

Search