性能问答>GC 日志跌幅为逆袭>
1回复
3年前

GC 日志跌幅为逆袭



2021-03-22T15:24:59.138+0800: 3016.765: [GC (Allocation Failure) 2021-03-22T15:24:59.139+0800: 3016.766: [ParNew (promotion failed): 3520777K->3595136K(3595136K), 8.3151567 secs]2021-03
-22T15:25:07.454+0800: 3025.081: [CMS: 2094543K->1341599K(2097152K), 6.2315787 secs] 4988453K->1341599K(5692288K), [Metaspace: 96591K->96591K(1136640K)], 14.5472943 secs] [Times: user=2
6.00 sys=1.65, real=14.55 secs
]
2021-03-22T15:25:13.686+0800: 3031.313: Total time for which application threads were stopped: 14.5507754 seconds, Stopping threads took: 0.0004910 seconds
2021-03-22T15:25:13.690+0800: 3031.316: [GC (CMS Initial Mark) [1 CMS-initial-mark: 1341599K(2097152K)] 1341795K(5692288K), 0.0028392 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2021-03-22T15:25:13.693+0800: 3031.319: Total time for which application threads were stopped: 0.0063293 seconds, Stopping threads took: 0.0013777 seconds
2021-03-22T15:25:13.693+0800: 3031.319: [CMS-concurrent-mark-start]
2021-03-22T15:25:14.696+0800: 3032.323: Total time for which application threads were stopped: 0.0029884 seconds, Stopping threads took: 0.0004313 seconds
2021-03-22T15:25:14.756+0800: 3032.382: [CMS-concurrent-mark: 1.060/1.063 secs] [Times: user=4.01 sys=0.29, real=1.07 secs]

promotion failed后进行CMS GC。CMS开始前这段日志什么意思:[CMS: 2094543K->1341599K(2097152K), 6.2315787 secs] 4988453K->1341599K(5692288K), [Metaspace: 96591K->96591K(1136640K)], 14.5472943 secs] [Times: user=2
6.00 sys=1.65, real=14.55 secs
]

特别是这个耗时,这是什么的耗时? 谢谢

2947 阅读
请先登录,查看1条精彩评论吧
快去登录吧,你将获得
  • 浏览更多精彩评论
  • 和开发者讨论交流,共同进步