Jstat使用样例

jstat -gc pid  //以字节形式展现

jstat -gcutil pid  //以百分比形式展现

jstat -class pid  //类加载和卸载状况

jstat -compilier pid  //查看Jit编译的方法数及失败情况

jstat -printcompilation 4672 //打印最近编译的一个方法

原文地址:https://www.cnblogs.com/ironroot/p/7346676.html