A DESCRIPTION OF THE REQUEST :
I would like to use JConsole to find out which of my application's threads are daemon and which are not because this will enable me to find out which non-daemon threads are preventing the JVM from shutting down and conversly why the JVM is shutting down at times when I expect it to remain alive.
On a related note, java.lang.Thread.toString() should indicate the daemon-ness of a Thread.
JUSTIFICATION :
It is difficult to debug daemon-Thread related issues.
I would like to use JConsole to find out which of my application's threads are daemon and which are not because this will enable me to find out which non-daemon threads are preventing the JVM from shutting down and conversly why the JVM is shutting down at times when I expect it to remain alive.
On a related note, java.lang.Thread.toString() should indicate the daemon-ness of a Thread.
JUSTIFICATION :
It is difficult to debug daemon-Thread related issues.
- relates to
-
JDK-6588467 Add isDaemon() and getPriority() to ThreadInfo
-
- Resolved
-