How do I interpret runnable in a java thread without a stack trace?
•
Java
I am debugging legacy Java applications, and the thread dump (obtained through jstack) contains some entries as follows:
"Thread-8" prio=10 tid=0x0000000055f2c800 nid=0x49bf runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE
nothing more. There is no stack trace
What happened here? How do I find the Java code executing in this thread?
Solution
The thread does not (or does not) execute java code It handles tasks that are not implemented in Java and that are not directly requested by any Java caller For example, if the corresponding OS thread just captures a signal
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码