Get a List of all Threads currently running in Java
Posted
by Kryten
on Stack Overflow
See other posts from Stack Overflow
or by Kryten
Published on 2009-08-24T16:30:11Z
Indexed on
2010/06/10
21:32 UTC
Read the original article
Hit count: 198
Hi
Is there any way I can get a list of all the running Threads in the current JVM (including the Threads NOT started by my class)?
Is it also possible to get the Thread and Class objects of all Thread in the list?
I want to be able to do this through code.
© Stack Overflow or respective owner