日期:2014-05-16 浏览次数:20423 次
jstat是jdk自带的一个命令,在jdk安装目录bin目录下,使用该工具可以进行java一些性能调优 Option Displays... class Statistics on the behavior of the class loader. compiler Statistics of the behavior of the HotSpot Just-in-Time compiler. gc Statistics of the behavior of the garbage collected heap. gccapacity Statistics of the capacities of the generations and their corresponding spaces. gccause Summary of garbage collection statistics (same as -gcutil), with the cause of the last and current (if applicable) garbage collection events. gcnew Statistics of the behavior of the new generation. gcnewcapacity Statistics of the sizes of the new generations and its corresponding spaces. gcold Statistics of the behavior of the old and permanent generations. gcoldcapacity Statistics of the sizes of the old generation. gcpermcapacity Statistics of the sizes of the permanent generation. gcutil Summary of garbage collection statistics. printcompilation HotSpot compilation method statistics. http://download.oracle.com/javase/1.5.0/docs/tooldocs/share/jstat.html