-
Notifications
You must be signed in to change notification settings - Fork 0
/
thread_dump.txt
151 lines (121 loc) · 8.89 KB
/
thread_dump.txt
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
2023-09-22 10:44:11
Full thread dump OpenJDK 64-Bit Server VM (19.0.2+7-44 mixed mode, sharing):
Threads class SMR info:
_java_thread_list=0x0000025839e7e600, length=15, elements={
0x0000025839c034c0, 0x0000025839c04450, 0x0000025839c09540, 0x0000025839c0cf90,
0x0000025839c108e0, 0x0000025839c119b0, 0x0000025839c12820, 0x00000258353c84e0,
0x00000258353cba10, 0x0000025839d0b5b0, 0x0000025839dd9530, 0x0000025839ddba80,
0x0000025839e43a10, 0x0000025839e444b0, 0x0000025839e424d0
}
"Reference Handler" #8 [4888] daemon prio=10 os_prio=2 cpu=15.62ms elapsed=23.23s tid=0x0000025839c034c0 nid=4888 waiting on condition [0x000000630edff000]
java.lang.Thread.State: RUNNABLE
at java.lang.ref.Reference.waitForReferencePendingList([email protected]/Native Method)
at java.lang.ref.Reference.processPendingReferences([email protected]/Reference.java:245)
at java.lang.ref.Reference$ReferenceHandler.run([email protected]/Reference.java:207)
"Finalizer" #9 [11636] daemon prio=8 os_prio=1 cpu=15.62ms elapsed=23.23s tid=0x0000025839c04450 nid=11636 in Object.wait() [0x000000630eefe000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait0([email protected]/Native Method)
- waiting on <0x0000000620c0c100> (a java.lang.ref.NativeReferenceQueue$Lock)
at java.lang.Object.wait([email protected]/Object.java:366)
at java.lang.Object.wait([email protected]/Object.java:339)
at java.lang.ref.NativeReferenceQueue.await([email protected]/NativeReferenceQueue.java:48)
at java.lang.ref.ReferenceQueue.remove0([email protected]/ReferenceQueue.java:158)
at java.lang.ref.NativeReferenceQueue.remove([email protected]/NativeReferenceQueue.java:89)
- locked <0x0000000620c0c100> (a java.lang.ref.NativeReferenceQueue$Lock)
at java.lang.ref.Finalizer$FinalizerThread.run([email protected]/Finalizer.java:173)
"Signal Dispatcher" #10 [21548] daemon prio=9 os_prio=2 cpu=0.00ms elapsed=23.23s tid=0x0000025839c09540 nid=21548 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Attach Listener" #11 [16144] daemon prio=5 os_prio=2 cpu=31.25ms elapsed=23.23s tid=0x0000025839c0cf90 nid=16144 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Service Thread" #12 [6552] daemon prio=9 os_prio=0 cpu=0.00ms elapsed=23.23s tid=0x0000025839c108e0 nid=6552 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Monitor Deflation Thread" #13 [10768] daemon prio=9 os_prio=0 cpu=0.00ms elapsed=23.23s tid=0x0000025839c119b0 nid=10768 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" #14 [25544] daemon prio=9 os_prio=2 cpu=31.25ms elapsed=23.23s tid=0x0000025839c12820 nid=25544 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
No compile task
"C1 CompilerThread0" #17 [32528] daemon prio=9 os_prio=2 cpu=15.62ms elapsed=23.23s tid=0x00000258353c84e0 nid=32528 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
No compile task
"Sweeper thread" #18 [27828] daemon prio=9 os_prio=2 cpu=0.00ms elapsed=23.23s tid=0x00000258353cba10 nid=27828 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Common-Cleaner" #19 [3048] daemon prio=8 os_prio=1 cpu=0.00ms elapsed=23.21s tid=0x0000025839d0b5b0 nid=3048 waiting on condition [0x000000630f6fe000]
java.lang.Thread.State: TIMED_WAITING (parking)
at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
- parking to wait for <0x0000000620d996b8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos([email protected]/LockSupport.java:269)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1759)
at java.lang.ref.ReferenceQueue.await([email protected]/ReferenceQueue.java:71)
at java.lang.ref.ReferenceQueue.remove0([email protected]/ReferenceQueue.java:143)
at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:218)
at jdk.internal.ref.CleanerImpl.run([email protected]/CleanerImpl.java:140)
at java.lang.Thread.run([email protected]/Thread.java:1589)
at jdk.internal.misc.InnocuousThread.run([email protected]/InnocuousThread.java:186)
"Monitor Ctrl-Break" #20 [11088] daemon prio=5 os_prio=0 cpu=0.00ms elapsed=23.08s tid=0x0000025839dd9530 nid=11088 runnable [0x000000630f7fe000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.SocketDispatcher.read0([email protected]/Native Method)
at sun.nio.ch.SocketDispatcher.read([email protected]/SocketDispatcher.java:46)
at sun.nio.ch.NioSocketImpl.tryRead([email protected]/NioSocketImpl.java:251)
at sun.nio.ch.NioSocketImpl.implRead([email protected]/NioSocketImpl.java:302)
at sun.nio.ch.NioSocketImpl.read([email protected]/NioSocketImpl.java:340)
at sun.nio.ch.NioSocketImpl$1.read([email protected]/NioSocketImpl.java:789)
at java.net.Socket$SocketInputStream.read([email protected]/Socket.java:1025)
at sun.nio.cs.StreamDecoder.readBytes([email protected]/StreamDecoder.java:333)
at sun.nio.cs.StreamDecoder.implRead([email protected]/StreamDecoder.java:376)
at sun.nio.cs.StreamDecoder.lockedRead([email protected]/StreamDecoder.java:219)
at sun.nio.cs.StreamDecoder.read([email protected]/StreamDecoder.java:173)
at java.io.InputStreamReader.read([email protected]/InputStreamReader.java:189)
at java.io.BufferedReader.fill([email protected]/BufferedReader.java:161)
at java.io.BufferedReader.implReadLine([email protected]/BufferedReader.java:371)
at java.io.BufferedReader.readLine([email protected]/BufferedReader.java:348)
at java.io.BufferedReader.readLine([email protected]/BufferedReader.java:437)
at com.intellij.rt.execution.application.AppMainV2$1.run(AppMainV2.java:53)
"Notification Thread" #21 [30488] daemon prio=9 os_prio=0 cpu=0.00ms elapsed=23.08s tid=0x0000025839ddba80 nid=30488 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Thread 1" #23 [9112] prio=5 os_prio=0 cpu=0.00ms elapsed=23.02s tid=0x0000025839e43a10 nid=9112 waiting for monitor entry [0x000000630faff000]
java.lang.Thread.State: BLOCKED (on object monitor)
at com.lex.practice.sync.dead.DeadLock.lambda$main$0(DeadLock.java:26)
- waiting to lock <0x0000000620f7d358> (a java.lang.Object)
- locked <0x0000000620f7d348> (a java.lang.Object)
at com.lex.practice.sync.dead.DeadLock$$Lambda$15/0x00000008010039f0.run(Unknown Source)
at java.lang.Thread.run([email protected]/Thread.java:1589)
"Thread 2" #24 [12680] prio=5 os_prio=0 cpu=0.00ms elapsed=23.02s tid=0x0000025839e444b0 nid=12680 waiting for monitor entry [0x000000630fbfe000]
java.lang.Thread.State: BLOCKED (on object monitor)
at com.lex.practice.sync.dead.DeadLock.lambda$main$1(DeadLock.java:42)
- waiting to lock <0x0000000620f7d348> (a java.lang.Object)
- locked <0x0000000620f7d358> (a java.lang.Object)
at com.lex.practice.sync.dead.DeadLock$$Lambda$16/0x0000000801003bf8.run(Unknown Source)
at java.lang.Thread.run([email protected]/Thread.java:1589)
"DestroyJavaVM" #25 [788] prio=5 os_prio=0 cpu=46.88ms elapsed=23.02s tid=0x0000025839e424d0 nid=788 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"VM Thread" os_prio=2 cpu=0.00ms elapsed=23.24s tid=0x00000258353a68d0 nid=19992 runnable
"GC Thread#0" os_prio=2 cpu=0.00ms elapsed=23.27s tid=0x0000025806b803b0 nid=25604 runnable
"G1 Main Marker" os_prio=2 cpu=0.00ms elapsed=23.27s tid=0x0000025806b91430 nid=2548 runnable
"G1 Conc#0" os_prio=2 cpu=0.00ms elapsed=23.27s tid=0x0000025806b94620 nid=11736 runnable
"G1 Refine#0" os_prio=2 cpu=0.00ms elapsed=23.27s tid=0x00000258352604a0 nid=32688 runnable
"G1 Service" os_prio=2 cpu=0.00ms elapsed=23.27s tid=0x0000025835260fe0 nid=21668 runnable
"VM Periodic Task Thread" os_prio=2 cpu=0.00ms elapsed=23.08s tid=0x0000025839ddfc20 nid=16292 waiting on condition
JNI global refs: 15, weak refs: 0
Found one Java-level deadlock:
=============================
"Thread 1":
waiting to lock monitor 0x0000025839e51050 (object 0x0000000620f7d358, a java.lang.Object),
which is held by "Thread 2"
"Thread 2":
waiting to lock monitor 0x0000025839e51f80 (object 0x0000000620f7d348, a java.lang.Object),
which is held by "Thread 1"
Java stack information for the threads listed above:
===================================================
"Thread 1":
at com.lex.practice.sync.dead.DeadLock.lambda$main$0(DeadLock.java:26)
- waiting to lock <0x0000000620f7d358> (a java.lang.Object)
- locked <0x0000000620f7d348> (a java.lang.Object)
at com.lex.practice.sync.dead.DeadLock$$Lambda$15/0x00000008010039f0.run(Unknown Source)
at java.lang.Thread.run([email protected]/Thread.java:1589)
"Thread 2":
at com.lex.practice.sync.dead.DeadLock.lambda$main$1(DeadLock.java:42)
- waiting to lock <0x0000000620f7d348> (a java.lang.Object)
- locked <0x0000000620f7d358> (a java.lang.Object)
at com.lex.practice.sync.dead.DeadLock$$Lambda$16/0x0000000801003bf8.run(Unknown Source)
at java.lang.Thread.run([email protected]/Thread.java:1589)
Found 1 deadlock.