Java代码-CPU占用过高排查思路:1、top 查看占用cpu过高的进程PID2、top -Hbp 32048|awk '/java/ && $9>50' 查看进程中占用高的线程3、printf "%x " 21911 线程ID转换16进制4、jvm查看进程信息:jstack 32048|grep "5597" -A 305、根据进程信息中的报错,定位相关java代码错误即可