JCA使用
IBM Thread and Monitor Dump Analyzer for Java (TMDA) is tool that allows identification of hangs, deadlocks, resource contention, and bottlenecks in Java thread dumps.
下载地址见:https://www.ibm.com/support/pages/ibm-thread-and-monitor-dump-analyzer-java-tmda
使用方式:java -jar jcaxxx.jar
其中xxx部分视jar包名称定。为了方便起见,可以将此命令保存为bat文件,使用时只要双击bat文件即可启动。
使用方法一般就是:
- 使用JCA打开线程快照(jstack);
- 分析各状态线程。