Let\'s say your Java program is taking 100% CPU. It has 50 threads. You need to find which thread is guilty. I have not found a tool that can help. Currently I use the follo
Just run up JVisualVM, connect to your app and and use the thread view. The one which remains continually active is your most likely culprit.