最佳答案
我已经将 java 配置为将垃圾收集信息转储到日志中(详细气相色谱)。我不确定日志中的垃圾收集条目是什么意思。这些条目的一个样本张贴在下面。我在 谷歌上搜索了一下,没有找到可靠的解释。
我有一些合理的猜测,但我正在寻找答案,提供严格的定义,什么数字在条目的意思,支持可靠的来源。所有引用 Sun 文档的答案自动 + 1。我的问题是:
8109.128: [ GC [ PSYoungGen: 109884K-> 14201K (139904K)] 691015K-> 595332K (1119040K) ,0.0454530 秒]
8112.111: [ GC [ PSYoungGen: 126649K-> 15528K (142336K)] 707780K-> 605892K (1121472K) ,0.0934560 秒]
8112.802: [ GC [ PSYoungGen: 130344K-> 3732K (118592K)] 720708K-> 607895K (1097728K) ,0.0682690 秒]