[心缘地方]同学录
首页 | 功能说明 | 站长通知 | 最近更新 | 编码查看转换 | 代码下载 | 常见问题及讨论 | 《深入解析ASP核心技术》 | 王小鸭自动发工资条VBA版
登录系统:用户名: 密码: 如果要讨论问题,请先注册。

[备忘]CMS: abort preclean due to time

上一篇:[备忘]jvm崩溃,tcnative-1.dll报错
下一篇:[备忘]postgresql数据库设置库的时区

添加日期:2024/6/11 14:33:04 快速返回   返回列表 阅读224次
如这样的日志:
CMS: abort preclean due to time 634260.811: [CMS-concurrent-abortable-preclean: 4.549/5.020 secs] [Times: user=4.91 sys=0.05, real=5.02 secs]

Phase    Type    Reason
------------------------------------
CMS initial mark    stop-the-world phase    phase to mark the objects
CMS marking    concurrent phase    actual marking objects
CMS precleaning    concurrent phase    precleaning
CMS abortable preclean    concurrent phase    pre-cleaning to avoid long STP ahead
CMS Remark    stop-the-world phase    Remarking (moving objects from one segment to another)
CMS sweep    concurrent phase    Sweeping phase
CMS reset    concurrent phase    Reset the marking tables
------------------------------------
CMS回收有这些阶段,其中init mark和remark会stop world

abortable preclean 阶段是为了减少remark的工作,到达指定的时间,它就结束了
这个时间是CMSMaxAbortablePrecleanTime指定的,默认是5秒。

由于它叫CMS-concurrent-abortable-preclean,
带concurrent的都是并行的,所以不影响程序运行。
 

评论 COMMENTS
没有评论 No Comments.

添加评论 Add new comment.
昵称 Name:
评论内容 Comment:
验证码(不区分大小写)
Validation Code:
(not case sensitive)
看不清?点这里换一张!(Change it here!)
 
评论由管理员查看后才能显示。the comment will be showed after it is checked by admin.
CopyRight © 心缘地方 2005-2999. All Rights Reserved