Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
2e93ae9c
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
2e93ae9c
编写于
12月 05, 2018
作者:
Z
zgu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8213992: Rename and make DieOnSafepointTimeout the diagnostic option
Reviewed-by: dholmes, dcubed, coleenp, kvn
上级
f6a2b1ca
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
4 addition
and
4 deletion
+4
-4
src/share/vm/runtime/globals.hpp
src/share/vm/runtime/globals.hpp
+2
-2
src/share/vm/runtime/safepoint.cpp
src/share/vm/runtime/safepoint.cpp
+2
-2
未找到文件。
src/share/vm/runtime/globals.hpp
浏览文件 @
2e93ae9c
...
@@ -768,8 +768,8 @@ class CommandLineFlags {
...
@@ -768,8 +768,8 @@ class CommandLineFlags {
"Time out and warn or fail after SafepointTimeoutDelay " \
"Time out and warn or fail after SafepointTimeoutDelay " \
"milliseconds if failed to reach safepoint") \
"milliseconds if failed to reach safepoint") \
\
\
d
evelop(bool, DieOnSafepointTimeout, false,
\
d
iagnostic(bool, AbortVMOnSafepointTimeout, false,
\
"
Die upon failure to reach safepoint (see SafepointTimeout)")
\
"
Abort upon failure to reach safepoint (see SafepointTimeout)")
\
\
\
/* 50 retries * (5 * current_retry_count) millis = ~6.375 seconds */
\
/* 50 retries * (5 * current_retry_count) millis = ~6.375 seconds */
\
/* typically, at most a few retries are needed */
\
/* typically, at most a few retries are needed */
\
...
...
src/share/vm/runtime/safepoint.cpp
浏览文件 @
2e93ae9c
...
@@ -790,9 +790,9 @@ void SafepointSynchronize::print_safepoint_timeout(SafepointTimeoutReason reason
...
@@ -790,9 +790,9 @@ void SafepointSynchronize::print_safepoint_timeout(SafepointTimeoutReason reason
tty
->
print_cr
(
"# SafepointSynchronize::begin: (End of list)"
);
tty
->
print_cr
(
"# SafepointSynchronize::begin: (End of list)"
);
}
}
// To debug the long safepoint, specify both
Die
OnSafepointTimeout &
// To debug the long safepoint, specify both
AbortVM
OnSafepointTimeout &
// ShowMessageBoxOnError.
// ShowMessageBoxOnError.
if
(
Die
OnSafepointTimeout
)
{
if
(
AbortVM
OnSafepointTimeout
)
{
char
msg
[
1024
];
char
msg
[
1024
];
VM_Operation
*
op
=
VMThread
::
vm_operation
();
VM_Operation
*
op
=
VMThread
::
vm_operation
();
sprintf
(
msg
,
"Safepoint sync time longer than "
INTX_FORMAT
"ms detected when executing %s."
,
sprintf
(
msg
,
"Safepoint sync time longer than "
INTX_FORMAT
"ms detected when executing %s."
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录