forked from kylinsoong/JVM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeadlock.out
129 lines (97 loc) · 5.12 KB
/
deadlock.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
2012-08-30 14:36:58
Full thread dump Java HotSpot(TM) Server VM (20.6-b01 mixed mode):
"Attach Listener" daemon prio=10 tid=0x6e703c00 nid=0x31ef waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"DestroyJavaVM" prio=10 tid=0xb6904800 nid=0x31a4 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"lab-threaddump-thread-2" prio=10 tid=0xb69e0800 nid=0x31b2 waiting for monitor entry [0x6e42c000]
java.lang.Thread.State: BLOCKED (on object monitor)
at com.kylin.lab.threaddump.deadlock.Resource.lockInternal(Resource.java:28)
- waiting to lock <0x9e32bbe8> (a com.kylin.lab.threaddump.deadlock.Resource)
at com.kylin.lab.threaddump.deadlock.Resource.lock(Resource.java:23)
- locked <0x9e32bbd8> (a com.kylin.lab.threaddump.deadlock.Resource)
at com.kylin.lab.threaddump.deadlock.ResourceThread.run(ResourceThread.java:28)
at java.lang.Thread.run(Thread.java:662)
Locked ownable synchronizers:
- None
"lab-threaddump-thread-1" prio=10 tid=0xb69df400 nid=0x31b1 waiting for monitor entry [0x6e47d000]
java.lang.Thread.State: BLOCKED (on object monitor)
at com.kylin.lab.threaddump.deadlock.Resource.lockInternal(Resource.java:28)
- waiting to lock <0x9e32bbd8> (a com.kylin.lab.threaddump.deadlock.Resource)
at com.kylin.lab.threaddump.deadlock.Resource.lock(Resource.java:23)
- locked <0x9e32bbe8> (a com.kylin.lab.threaddump.deadlock.Resource)
at com.kylin.lab.threaddump.deadlock.ResourceThread.run(ResourceThread.java:26)
at java.lang.Thread.run(Thread.java:662)
Locked ownable synchronizers:
- None
"Low Memory Detector" daemon prio=10 tid=0xb69bbc00 nid=0x31af runnable [0x00000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"C2 CompilerThread1" daemon prio=10 tid=0xb69ba000 nid=0x31ae waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"C2 CompilerThread0" daemon prio=10 tid=0xb69b8000 nid=0x31ad waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Signal Dispatcher" daemon prio=10 tid=0xb69b6800 nid=0x31ac runnable [0x00000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Finalizer" daemon prio=10 tid=0xb69a8400 nid=0x31ab in Object.wait() [0x6f07d000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x9e2f1150> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x9e2f1150> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
Locked ownable synchronizers:
- None
"Reference Handler" daemon prio=10 tid=0xb69a6c00 nid=0x31aa in Object.wait() [0x6eae1000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x9e2f1050> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x9e2f1050> (a java.lang.ref.Reference$Lock)
Locked ownable synchronizers:
- None
"VM Thread" prio=10 tid=0xb69a3000 nid=0x31a9 runnable
"GC task thread#0 (ParallelGC)" prio=10 tid=0xb690b800 nid=0x31a5 runnable
"GC task thread#1 (ParallelGC)" prio=10 tid=0xb690d000 nid=0x31a6 runnable
"GC task thread#2 (ParallelGC)" prio=10 tid=0xb690e400 nid=0x31a7 runnable
"GC task thread#3 (ParallelGC)" prio=10 tid=0xb690fc00 nid=0x31a8 runnable
"VM Periodic Task Thread" prio=10 tid=0xb69bdc00 nid=0x31b0 waiting on condition
JNI global references: 906
Found one Java-level deadlock:
=============================
"lab-threaddump-thread-2":
waiting to lock monitor 0x6e702100 (object 0x9e32bbe8, a com.kylin.lab.threaddump.deadlock.Resource),
which is held by "lab-threaddump-thread-1"
"lab-threaddump-thread-1":
waiting to lock monitor 0x6e7037a8 (object 0x9e32bbd8, a com.kylin.lab.threaddump.deadlock.Resource),
which is held by "lab-threaddump-thread-2"
Java stack information for the threads listed above:
===================================================
"lab-threaddump-thread-2":
at com.kylin.lab.threaddump.deadlock.Resource.lockInternal(Resource.java:28)
- waiting to lock <0x9e32bbe8> (a com.kylin.lab.threaddump.deadlock.Resource)
at com.kylin.lab.threaddump.deadlock.Resource.lock(Resource.java:23)
- locked <0x9e32bbd8> (a com.kylin.lab.threaddump.deadlock.Resource)
at com.kylin.lab.threaddump.deadlock.ResourceThread.run(ResourceThread.java:28)
at java.lang.Thread.run(Thread.java:662)
"lab-threaddump-thread-1":
at com.kylin.lab.threaddump.deadlock.Resource.lockInternal(Resource.java:28)
- waiting to lock <0x9e32bbd8> (a com.kylin.lab.threaddump.deadlock.Resource)
at com.kylin.lab.threaddump.deadlock.Resource.lock(Resource.java:23)
- locked <0x9e32bbe8> (a com.kylin.lab.threaddump.deadlock.Resource)
at com.kylin.lab.threaddump.deadlock.ResourceThread.run(ResourceThread.java:26)
at java.lang.Thread.run(Thread.java:662)
Found 1 deadlock.