java Concurrent Mark & Sweep 中的“由于时间原因中止预清理”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1834501/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
"abort preclean due to time" in Concurrent Mark & Sweep
提问by ripper234
I'm getting "abort preclean due to time" when running Concurrent Mark & Sweep in Java 6. What does it mean? Is the GC really halting in the middle before it did any real work?
在 Java 6 中运行 Concurrent Mark & Sweep 时,我收到“由于时间原因中止预清理”的消息。这是什么意思?GC 真的在做任何实际工作之前就停在中间了吗?
采纳答案by reccles
Check out the section MaxAbortablePrecleanTime in Masamitsu's blog. This will give you a better idea about what the preclean phase is doing. Better than i'm willing to type out ;)
查看Masamitsu 博客中的MaxAbortablePrecleanTime 部分 。这将使您更好地了解预清洁阶段正在做什么。比我愿意打字要好;)

