FULL PRODUCT VERSION :
java version "1.6.0-rc"
Java(TM) SE Runtime Environment (build 1.6.0-rc-b98)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b98, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
It seems as the SwingWorker thread pool used in JConsole keeps creating new threads and discarding old ones.
Having let JConsole run for approximately 2�� hour. I see threads having names like
SwingWorker-pool-1-thread-23615
That means JConsole is creating around 10000 threads/hour. Now even if the creation of threads does not have a great overhead. It kind of defies the purpose of having a thread pool.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start JConsole
Connect to jconsole process from within jconsole.
Select Threads-tab
REPRODUCIBILITY :
This bug can be reproduced always.