I am debugging a legacy Java application, and the thread dump (obtained via jstack) contains some entries like the following:
"Thread-8" prio=10 tid=0x0000000055f2c800 nid=0x49bf runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
That’s it. No stack trace.
What’s going on here? How do I locate the Java code executing in this thread?
The thread isn’t (or wasn’t) executing Java code. It’s handling tasks not implemented in Java that weren’t directly requested by any Java caller. For example, if the corresponding OS thread just caught a signal.