如何读取详细的:GC 输出? [英] How to read a verbose:GC output?

查看:16
本文介绍了如何读取详细的:GC 输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

70.222: [GC [PSYoungGen: 131072K->15437K(152896K)] 131072K->15509K(502464K), 0.0228420 secs] [Times: user=0.09 sys=0.01, real=0.02 secs]

70.222: [GC [PSYoungGen: 131072K->15437K(152896K)] 131072K->15509K(502464K), 0.0228420 secs] [Times: user=0.09 sys=0.01, real=0.02 secs]

推荐答案

您可以找到解释详细 GC 输出的教程,例如.在:

You can find tutorials on interpreting verbose GC output eg. in:

verbosegc 输出教程-Java 7,可以看到YoungGen空间分析:

2014 年 3 月 27 日更新:收集时间(秒)"实际上是显示 GC 发生时间的时间戳.收集时间报告为 Times=user=0.45 sys=0.01, real=0.14 secs].

UPDATE 03/27/2014: The "Collection time (secs)" is actually a Timestamp showing the when the GC occurred. The Collection times are reported as Times=user=0.45 sys=0.01, real=0.14 secs].

这里,262208K->137900K(100428K)的意思是Java Heap before GC-> Java Heap after GC (Total Size of the Java Heap).

Here, the 262208K->137900K(100428K) means Java Heap before GC-> Java Heap after GC (Total Size of the Java Heap).

还有,OldGen 空间分析:

这篇关于如何读取详细的:GC 输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆