Jstat使用样例

 

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

 

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

 

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

 

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

 

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

 

posted @ 2017-08-11 16:38  liron  阅读(187)  评论(0编辑  收藏  举报