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
jstat使用浅谈
jstat工具详解
最新推荐文章于 2025-04-28 00:17:35 发布
本文介绍JDK自带的jstat工具,该工具可用于收集Java应用程序的性能数据,包括类加载器行为、HotSpot JIT编译器统计信息、垃圾回收堆行为等。通过这些统计数据,开发者可以对Java应用进行性能调优。
574

被折叠的 条评论
为什么被折叠?



