微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

GCViewer 垃圾回收日志文件分析工具

程序名称:GCViewer

授权协议: LGPL

操作系统: 跨平台

开发语言: Java

GCViewer 介绍

tagtraum industries GCViewer
一个分支,前者2008年已停止更新,一个查看并分析垃圾回收日志文件的小工具.支持Oracle, Sun, IBM, HP and BEA的JVM.
分支增加了Oracle’s java 1.6 + 1.7 gc日志(包括G1)

GNU LGPL协议.

双击 gcviewer-1.3x.jar就可以运行 GCViewer (gui) , 或者命令行运行(需要java 1.7 vm):

 java -jar gcviewer-1.3x.jar

命令行分析日志,并产生报表:

java -jar gcviewer-1.3x.jar gc.log summary.csv [chart.png]

Supported verbose:gc formats are:

- Oracle JDK 1.8 (experimental support) -Xloggc: [-XX:+PrintGCDetails]
[-XX:+PrintGCDateStamps]
- Sun / Oracle JDK 1.7 with option -Xloggc: [-XX:+PrintGCDetails]
[-XX:+PrintGCDateStamps]
- Sun / Oracle JDK 1.6 with option -Xloggc: [-XX:+PrintGCDetails]
[-XX:+PrintGCDateStamps]
- Sun JDK 1.4/1.5 with the option -Xloggc: [-XX:+PrintGCDetails]
- Sun JDK 1.2.2/1.3.1/1.4 with the option -verbose:gc
- IBM JDK 1.3.1/1.3.0/1.2.2 with the option -verbose:gc
- IBM iSeries Classic JVM 1.4.2 with option -verbose:gc
- HP-UX JDK 1.2/1.3/1.4.x with the option -Xverbosegc
- BEA JRockit 1.4.2/1.5/1.6 with the option -verbose:memory
[-Xverbose:gcpause,gcreport] [-Xverbosetimestamp]

Best results are achieved with: -Xloggc: -XX:+PrintGCDetails
-XX:+PrintGCDateStamps

GCViewer 官网

https://github.com/chewiebug/GCViewer

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐