Is there any way I can get a list of all running threads in the current JVM (including the threads not started by my class)?
Is it also possible to get the
Have you taken a look at jconsole?
This will list all threads running for a particular Java process.
You can start jconsole from the JDK bin folder.
You can also get a full stack trace for all threads by hitting Ctrl+Break in Windows or by sending kill pid --QUIT in Linux.
Ctrl+Break
kill pid --QUIT