Do you know some good thread dump analyzer tool? Perfect would be :
- free
- can read a few thread dumps and compare them
- point out which threads took the longest, what are the classes that the thread is locked on etc.
- shows threads, locks, deadlocks and multiple threads waiting to acquire a single lock
Edit:
- offline analyze – load file with one or many thread dump and analyze it.
Edit:
My choice is: Samurai. It has all the features I need: Loads logfile, and compares few thread dumps. Analyze it and points:
- waiting threads
- blocked threads
- blocking threads
- deadlock
I'll leave question as answered because TDA is the best answer that was given.
Best Answer
You could use TDA - Thread Dump Analyser, a plug-in for Visual VM.
Visual VM is free as well. I think this is your best choice.
From Tools and tips for Sun JVM troubleshooting on ServerFault.