查看并分析Java垃圾回收日志文件的工具:GCViewer

jopen 11年前發布 | 70K 次閱讀 GCViewer 代碼分析/審查/優化

GCViewer是一個小工具,用于可視化查看由Sun / Oracle, IBM, HP 和 BEA Java 虛擬機產生的垃圾收集器的日志。對性能調優很有幫助。
756e0763gw1eb1xmdwgitj20mr0f0tc0.jpg

支持verbose:GC的格式有:

  • Oracle JDK 1.8 (experimental support) -Xloggc:<file> [-XX:+PrintGCDetails] [-XX:+PrintGCDateStamps]
  • Sun / Oracle JDK 1.7 with option -Xloggc:<file> [-XX:+PrintGCDetails] [-XX:+PrintGCDateStamps]
  • Sun / Oracle JDK 1.6 with option -Xloggc:<file> [-XX:+PrintGCDetails] [-XX:+PrintGCDateStamps]
  • Sun JDK 1.4/1.5 with the option -Xloggc:<file> [-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]</pre>

    項目主頁:http://www.baiduhome.net/lib/view/home/1387102435952

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!