cpu使用率每隔几分钟就有一个小高峰,图形显示为密集的锯齿状
查看飙升时哪些线程最高java
top -H
导出java运行的线程信息线程
jstack 进程id(jps查看) jstack 进程id > ps.txt jstack -l 进程id (窗口打印)
另外一个环境中复现code