`
txyly998
  • 浏览: 107901 次
  • 性别: Icon_minigender_2
  • 来自: 南京
社区版块
存档分类
最新评论

JVM GC日志开启

    博客分类:
  • java
阅读更多
Gc日志可以输出的文件中,通过设置-Xverbosegclog参数,指定对应文件名,虚拟机会把Gc日志输出到该文件:
-Xverbosegclog:<path to file><filename[,X,Y]>
Prints out information about garbage collections to a file. If the integers X and Y are specified, the output is redirected to X files each containing output from Y GC cycles.
分享到:
评论
1 楼 jfhgmv 2012-03-06  
Hi,美女!
-Xverbosegclog 这个参数是Linux 下的Sun HotSpot JDK 还是其他厂商的?

相关推荐

Global site tag (gtag.js) - Google Analytics