Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
fdcf4cb1
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fdcf4cb1
编写于
9月 20, 2011
作者:
N
never
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7092236: java/util/EnumSet/EnumSetBash.java fails
Reviewed-by: kvn, twisti, jrose
上级
493918a6
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
20 addition
and
10 deletion
+20
-10
src/share/vm/ci/ciEnv.cpp
src/share/vm/ci/ciEnv.cpp
+20
-10
未找到文件。
src/share/vm/ci/ciEnv.cpp
浏览文件 @
fdcf4cb1
...
@@ -910,27 +910,37 @@ void ciEnv::validate_compile_task_dependencies(ciMethod* target) {
...
@@ -910,27 +910,37 @@ void ciEnv::validate_compile_task_dependencies(ciMethod* target) {
// dependencies were inserted. Any violated dependences in this
// dependencies were inserted. Any violated dependences in this
// case are dumped to the tty.
// case are dumped to the tty.
bool
counter_changed
=
system_dictionary_modification_counter_changed
();
bool
counter_changed
=
system_dictionary_modification_counter_changed
();
bool
test_deps
=
counter_changed
;
DEBUG_ONLY
(
test_deps
=
true
);
if
(
!
test_deps
)
return
;
bool
print_failures
=
false
;
bool
verify_deps
=
trueInDebug
;
DEBUG_ONLY
(
print_failures
=
!
counter_changed
);
if
(
!
counter_changed
&&
!
verify_deps
)
return
;
bool
keep_going
=
(
print_failures
||
xtty
!=
NULL
);
int
klass_violations
=
0
;
int
klass_violations
=
0
;
for
(
Dependencies
::
DepStream
deps
(
dependencies
());
deps
.
next
();
)
{
for
(
Dependencies
::
DepStream
deps
(
dependencies
());
deps
.
next
();
)
{
if
(
!
deps
.
is_klass_type
())
continue
;
// skip non-klass dependencies
if
(
!
deps
.
is_klass_type
())
continue
;
// skip non-klass dependencies
klassOop
witness
=
deps
.
check_dependency
();
klassOop
witness
=
deps
.
check_dependency
();
if
(
witness
!=
NULL
)
{
if
(
witness
!=
NULL
)
{
klass_violations
++
;
klass_violations
++
;
if
(
print_failures
)
deps
.
print_dependency
(
witness
,
/*verbose=*/
true
);
if
(
!
counter_changed
)
{
// Dependence failed but counter didn't change. Log a message
// describing what failed and allow the assert at the end to
// trigger.
deps
.
print_dependency
(
witness
);
}
else
if
(
xtty
==
NULL
)
{
// If we're not logging then a single violation is sufficient,
// otherwise we want to log all the dependences which were
// violated.
break
;
}
}
}
// If there's no log and we're not sanity-checking, we're done.
if
(
!
keep_going
)
break
;
}
}
if
(
klass_violations
!=
0
)
{
if
(
klass_violations
!=
0
)
{
#ifdef ASSERT
if
(
!
counter_changed
&&
!
PrintCompilation
)
{
// Print out the compile task that failed
_task
->
print_line
();
}
#endif
assert
(
counter_changed
,
"failed dependencies, but counter didn't change"
);
assert
(
counter_changed
,
"failed dependencies, but counter didn't change"
);
record_failure
(
"concurrent class loading"
);
record_failure
(
"concurrent class loading"
);
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录