gpt4 book ai didi

java - ParNew gc 会阻止世界吗?

转载 作者:IT老高 更新时间:2023-10-28 20:43:59 25 4
gpt4 key购买 nike

我看到如下 GC 输出:

2010-12-10T16:00:44.942+0800: 1443.562: [GC 1443.562: [ParNew: 201856K->17318K(201856K), 0.0352970 secs] 2113334K->1949037K(4416748K) icms_dc=0 , 0.0354310 secs] [Times: user=0.12 sys=0.00, real=0.04 secs]
2010-12-10T16:00:46.207+0800: 1444.827: [GC 1444.827: [ParNew: 196774K->22400K(201856K), 0.0119290 secs] 2128493K->1954446K(4416748K) icms_dc=0 , 0.0120560 secs] [Times: user=0.13 sys=0.00, real=0.02 secs]
2010-12-10T16:00:47.562+0800: 1446.182: [GC 1446.182: [ParNew: 201856K->22400K(201856K), 0.0714350 secs] 2133902K->1982695K(4416748K) icms_dc=0 , 0.0715720 secs] [Times: user=0.23 sys=0.01, real=0.07 secs]
2010-12-10T16:00:48.545+0800: 1447.165: [GC 1447.165: [ParNew: 201856K->22400K(201856K), 0.1457230 secs] 2162151K->2008418K(4416748K) icms_dc=0 , 0.1458710 secs] [Times: user=0.71 sys=0.05, real=0.15 secs]

我想知道 ParNew GC 是否会停止所有线程。谢谢。

最佳答案

Jon Masamitsu's blog说的很清楚

"ParNew" is a stop-the-world, copying collector which uses multiple GC threads.

在您展示的示例中,时间安排相当快

关于java - ParNew gc 会阻止世界吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4406809/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com