首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

JVM GC日记开启

2012-11-09 
JVM GC日志开启Gc日志可以输出的文件中,通过设置-Xverbosegclog参数,指定对应文件名,虚拟机会把Gc日志输出

JVM GC日志开启
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 还是其他厂商的?

热点排行