Buena Introducción a herramientas para analizar ejecución de java:
http://java.sun.com/developer/technicalArticles/J2SE/monitoring/
Thread Dump Analyzers:
IBM: http://www.alphaworks.ibm.com/tech/jca
TDA: https://tda.dev.java.net/
Uso de VisualVM (la trae la JDK)
appsnap -c 30 -i 1 > ~/var/logs/appsnap.out
This command will take 30 thread dumps, 1 second apart.
Thread dumps usando jstack: java/bin/jstack PID > 2k_dump1