参考:http://www.cnblogs.com/LBSer/p/3703967.html
cpu占用高,用top -p 1111 -H 找到占用高的进程号,转为16进制, 然后jstack 1111后,发现是C2 CompilerThread。 ----------------------- "C2 CompilerThread1" daemon prio=10 tid=0x00007fce48125800 nid=0x852 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE ----------------------- 好像没辙,我直接加大请求量,一会就好了
|