Get a List of all Threads currently running in Java
- by Kryten
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.