Java / Java Multithreading
Explain about jstack tool.
The jstack command-line utility attaches to the specified process or core file and prints the stack traces of all threads that are attached to the virtual machine, including Java threads and VM internal threads, and optionally native stack frames. The utility also performs deadlock detection.
A stack trace of all threads can be useful in diagnosing a number of issues, such as deadlocks or hangs.
More Related questions...