Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JPS and JSTACK command
C:\Program Files\Java\jdk-16.0.2\bin>jps -l
11712
8656 netzwerk.MainTraining
15624 org/netbeans/Main
15928 org.jetbrains.idea.maven.server.RemoteMavenServer36
20392 org.jetbrains.jps.cmdline.Launcher
7612 jdk.jcmd/sun.tools.jps.Jps
C:\Program Files\Java\jdk-16.0.2\bin>jstack 8656
2022-09-23 15:52:34
Full thread dump Java HotSpot(TM) 64-Bit Server VM (16.0.2+7-67 mixed mode, sharing):
Threads class SMR info:
_java_thread_list=0x0000028db7cbd4a0, length=16, elements={
0x0000028d9835d300, 0x0000028db6394090, 0x0000028db6394e60, 0x0000028db63a2bc0,
0x0000028db63a54e0, 0x0000028db63a6e00, 0x0000028db63a7710, 0x0000028db63ab900,
0x0000028db63b4310, 0x0000028db63c9050, 0x0000028db6373030, 0x0000028db7ae4bb0,
0x0000028db7476ce0, 0x0000028db86949f0, 0x0000028db8607c30, 0x0000028db8608150
}
"main" #1 prio=5 os_prio=0 cpu=24765.62ms elapsed=71.64s tid=0x0000028d9835d300 nid=0x4e90 waiting on condition [0x000000f4b1fff000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(java.base@16.0.2/Native Method)
at netzwerk.util.NetzwerkUtil.waitMs(NetzwerkUtil.java:72)
at netzwerk.MainTraining.bewerteNSC(MainTraining.java:94)
at netzwerk.MainTraining.main(MainTraining.java:21)
"Reference Handler" #2 daemon prio=10 os_prio=2 cpu=15.62ms elapsed=71.62s tid=0x0000028db6394090 nid=0x21d4 waiting on condition [0x000000f4b26ff000]
java.lang.Thread.State: RUNNABLE
at java.lang.ref.Reference.waitForReferencePendingList(java.base@16.0.2/Native Method)
at java.lang.ref.Reference.processPendingReferences(java.base@16.0.2/Reference.java:243)
at java.lang.ref.Reference$ReferenceHandler.run(java.base@16.0.2/Reference.java:215)
"Finalizer" #3 daemon prio=8 os_prio=1 cpu=0.00ms elapsed=71.62s tid=0x0000028db6394e60 nid=0x41e4 in Object.wait() [0x000000f4b27ff000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(java.base@16.0.2/Native Method)
- waiting on <0x0000000081600178> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@16.0.2/ReferenceQueue.java:155)
- locked <0x0000000081600178> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@16.0.2/ReferenceQueue.java:176)
at java.lang.ref.Finalizer$FinalizerThread.run(java.base@16.0.2/Finalizer.java:171)
"Signal Dispatcher" #4 daemon prio=9 os_prio=2 cpu=0.00ms elapsed=71.61s tid=0x0000028db63a2bc0 nid=0x4734 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Attach Listener" #5 daemon prio=5 os_prio=2 cpu=15.62ms elapsed=71.61s tid=0x0000028db63a54e0 nid=0x48e4 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Service Thread" #6 daemon prio=9 os_prio=0 cpu=0.00ms elapsed=71.61s tid=0x0000028db63a6e00 nid=0x49c4 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Monitor Deflation Thread" #7 daemon prio=9 os_prio=0 cpu=0.00ms elapsed=71.61s tid=0x0000028db63a7710 nid=0x117c runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" #8 daemon prio=9 os_prio=2 cpu=3968.75ms elapsed=71.61s tid=0x0000028db63ab900 nid=0x2724 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
No compile task
"C1 CompilerThread0" #11 daemon prio=9 os_prio=2 cpu=1234.38ms elapsed=71.61s tid=0x0000028db63b4310 nid=0x4574 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
No compile task
"Sweeper thread" #12 daemon prio=9 os_prio=2 cpu=0.00ms elapsed=71.61s tid=0x0000028db63c9050 nid=0x1294 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Common-Cleaner" #13 daemon prio=8 os_prio=1 cpu=0.00ms elapsed=71.42s tid=0x0000028db6373030 nid=0x3e14 in Object.wait() [0x000000f4b2ffe000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(java.base@16.0.2/Native Method)
- waiting on <0x0000000081ef1be8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@16.0.2/ReferenceQueue.java:155)
- locked <0x0000000081ef1be8> (a java.lang.ref.ReferenceQueue$Lock)
at jdk.internal.ref.CleanerImpl.run(java.base@16.0.2/CleanerImpl.java:140)
at java.lang.Thread.run(java.base@16.0.2/Thread.java:831)
at jdk.internal.misc.InnocuousThread.run(java.base@16.0.2/InnocuousThread.java:134)
"Monitor Ctrl-Break" #14 daemon prio=5 os_prio=0 cpu=31.25ms elapsed=70.99s tid=0x0000028db7ae4bb0 nid=0x2428 runnable [0x000000f4b31fe000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.SocketDispatcher.read0(java.base@16.0.2/Native Method)
at sun.nio.ch.SocketDispatcher.read(java.base@16.0.2/SocketDispatcher.java:46)
at sun.nio.ch.NioSocketImpl.tryRead(java.base@16.0.2/NioSocketImpl.java:261)
at sun.nio.ch.NioSocketImpl.implRead(java.base@16.0.2/NioSocketImpl.java:312)
at sun.nio.ch.NioSocketImpl.read(java.base@16.0.2/NioSocketImpl.java:350)
at sun.nio.ch.NioSocketImpl$1.read(java.base@16.0.2/NioSocketImpl.java:803)
at java.net.Socket$SocketInputStream.read(java.base@16.0.2/Socket.java:976)
at sun.nio.cs.StreamDecoder.readBytes(java.base@16.0.2/StreamDecoder.java:297)
at sun.nio.cs.StreamDecoder.implRead(java.base@16.0.2/StreamDecoder.java:339)
at sun.nio.cs.StreamDecoder.read(java.base@16.0.2/StreamDecoder.java:188)
- locked <0x0000000081ef8448> (a java.io.InputStreamReader)
at java.io.InputStreamReader.read(java.base@16.0.2/InputStreamReader.java:178)
at java.io.BufferedReader.fill(java.base@16.0.2/BufferedReader.java:161)
at java.io.BufferedReader.readLine(java.base@16.0.2/BufferedReader.java:329)
- locked <0x0000000081ef8448> (a java.io.InputStreamReader)
at java.io.BufferedReader.readLine(java.base@16.0.2/BufferedReader.java:396)
at com.intellij.rt.execution.application.AppMainV2$1.run(AppMainV2.java:49)
"Notification Thread" #15 daemon prio=9 os_prio=0 cpu=0.00ms elapsed=70.99s tid=0x0000028db7476ce0 nid=0xd2c runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"JavaCPP Deallocator" #17 daemon prio=10 os_prio=2 cpu=15.62ms elapsed=69.66s tid=0x0000028db86949f0 nid=0xfac in Object.wait() [0x000000f4b3dff000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(java.base@16.0.2/Native Method)
- waiting on <0x0000000082016788> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@16.0.2/ReferenceQueue.java:155)
- locked <0x0000000082016788> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@16.0.2/ReferenceQueue.java:176)
at org.bytedeco.javacpp.Pointer$DeallocatorThread.run(Pointer.java:375)
"DeallocatorServiceThread_0" #18 daemon prio=5 os_prio=0 cpu=31.25ms elapsed=68.41s tid=0x0000028db8607c30 nid=0x1e54 in Object.wait() [0x000000f4b34fe000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(java.base@16.0.2/Native Method)
- waiting on <0x00000000820179b0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@16.0.2/ReferenceQueue.java:155)
- locked <0x00000000820179b0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@16.0.2/ReferenceQueue.java:176)
at org.nd4j.linalg.api.memory.deallocation.DeallocatorService$DeallocatorServiceThread.run(DeallocatorService.java:129)
"DeallocatorServiceThread_1" #19 daemon prio=5 os_prio=0 cpu=46.88ms elapsed=68.41s tid=0x0000028db8608150 nid=0x4460 in Object.wait() [0x000000f4b4cff000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(java.base@16.0.2/Native Method)
- waiting on <0x0000000082015670> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@16.0.2/ReferenceQueue.java:155)
- locked <0x0000000082015670> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@16.0.2/ReferenceQueue.java:176)
at org.nd4j.linalg.api.memory.deallocation.DeallocatorService$DeallocatorServiceThread.run(DeallocatorService.java:129)
"VM Thread" os_prio=2 cpu=15.62ms elapsed=71.63s tid=0x0000028db638e520 nid=0x94 runnable
"GC Thread#0" os_prio=2 cpu=46.88ms elapsed=71.64s tid=0x0000028d9839dd20 nid=0x46fc runnable
"GC Thread#1" os_prio=2 cpu=15.62ms elapsed=70.49s tid=0x0000028db765b280 nid=0xcd0 runnable
"GC Thread#2" os_prio=2 cpu=15.62ms elapsed=70.49s tid=0x0000028db7afe270 nid=0xe3c runnable
"GC Thread#3" os_prio=2 cpu=31.25ms elapsed=70.48s tid=0x0000028db7f87e40 nid=0x2c98 runnable
"GC Thread#4" os_prio=2 cpu=0.00ms elapsed=70.48s tid=0x0000028db7ebb7c0 nid=0x23fc runnable
"GC Thread#5" os_prio=2 cpu=62.50ms elapsed=70.48s tid=0x0000028db83221b0 nid=0x3f24 runnable
"GC Thread#6" os_prio=2 cpu=15.62ms elapsed=69.75s tid=0x0000028db8221ea0 nid=0xa18 runnable
"GC Thread#7" os_prio=2 cpu=31.25ms elapsed=69.75s tid=0x0000028db82221b0 nid=0x4930 runnable
"G1 Main Marker" os_prio=2 cpu=0.00ms elapsed=71.64s tid=0x0000028d983ae9f0 nid=0x1470 runnable
"G1 Conc#0" os_prio=2 cpu=0.00ms elapsed=71.64s tid=0x0000028d983afb10 nid=0x968 runnable
"G1 Refine#0" os_prio=2 cpu=0.00ms elapsed=71.64s tid=0x0000028d9841dd10 nid=0x439c runnable
"G1 Refine#1" os_prio=2 cpu=0.00ms elapsed=70.48s tid=0x0000028db816a700 nid=0x4498 runnable
"G1 Service" os_prio=2 cpu=0.00ms elapsed=71.64s tid=0x0000028d9841e6a0 nid=0x4e34 runnable
"VM Periodic Task Thread" os_prio=2 cpu=15.62ms elapsed=70.98s tid=0x0000028db7bf4410 nid=0x4eb4 waiting on condition
JNI global refs: 16, weak refs: 684
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment