Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
fe975f96
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看板
提交
fe975f96
编写于
10月 08, 2013
作者:
T
twisti
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8007923: Tests on references fails
Reviewed-by: kvn, iveresov
上级
c591c733
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
6 addition
and
3 deletion
+6
-3
src/share/vm/ci/ciKlass.cpp
src/share/vm/ci/ciKlass.cpp
+5
-3
src/share/vm/opto/escape.cpp
src/share/vm/opto/escape.cpp
+1
-0
未找到文件。
src/share/vm/ci/ciKlass.cpp
浏览文件 @
fe975f96
...
@@ -66,7 +66,9 @@ ciKlass::ciKlass(ciSymbol* name, BasicType bt) : ciType(bt) {
...
@@ -66,7 +66,9 @@ ciKlass::ciKlass(ciSymbol* name, BasicType bt) : ciType(bt) {
// ------------------------------------------------------------------
// ------------------------------------------------------------------
// ciKlass::is_subtype_of
// ciKlass::is_subtype_of
bool
ciKlass
::
is_subtype_of
(
ciKlass
*
that
)
{
bool
ciKlass
::
is_subtype_of
(
ciKlass
*
that
)
{
assert
(
is_loaded
()
&&
that
->
is_loaded
(),
"must be loaded"
);
assert
(
this
->
is_loaded
(),
err_msg
(
"must be loaded: %s"
,
this
->
name
()
->
as_quoted_ascii
()));
assert
(
that
->
is_loaded
(),
err_msg
(
"must be loaded: %s"
,
that
->
name
()
->
as_quoted_ascii
()));
// Check to see if the klasses are identical.
// Check to see if the klasses are identical.
if
(
this
==
that
)
{
if
(
this
==
that
)
{
return
true
;
return
true
;
...
@@ -83,8 +85,8 @@ bool ciKlass::is_subtype_of(ciKlass* that) {
...
@@ -83,8 +85,8 @@ bool ciKlass::is_subtype_of(ciKlass* that) {
// ------------------------------------------------------------------
// ------------------------------------------------------------------
// ciKlass::is_subclass_of
// ciKlass::is_subclass_of
bool
ciKlass
::
is_subclass_of
(
ciKlass
*
that
)
{
bool
ciKlass
::
is_subclass_of
(
ciKlass
*
that
)
{
assert
(
is_loaded
()
&&
that
->
is_loaded
(),
"must be loaded"
);
assert
(
this
->
is_loaded
(),
err_msg
(
"must be loaded: %s"
,
this
->
name
()
->
as_quoted_ascii
())
);
// Check to see if the klasses are identical.
assert
(
that
->
is_loaded
(),
err_msg
(
"must be loaded: %s"
,
that
->
name
()
->
as_quoted_ascii
()));
VM_ENTRY_MARK
;
VM_ENTRY_MARK
;
Klass
*
this_klass
=
get_Klass
();
Klass
*
this_klass
=
get_Klass
();
...
...
src/share/vm/opto/escape.cpp
浏览文件 @
fe975f96
...
@@ -780,6 +780,7 @@ void ConnectionGraph::add_call_node(CallNode* call) {
...
@@ -780,6 +780,7 @@ void ConnectionGraph::add_call_node(CallNode* call) {
}
}
}
else
{
// Allocate instance
}
else
{
// Allocate instance
if
(
cik
->
is_subclass_of
(
_compile
->
env
()
->
Thread_klass
())
||
if
(
cik
->
is_subclass_of
(
_compile
->
env
()
->
Thread_klass
())
||
cik
->
is_subclass_of
(
_compile
->
env
()
->
Reference_klass
())
||
!
cik
->
is_instance_klass
()
||
// StressReflectiveCode
!
cik
->
is_instance_klass
()
||
// StressReflectiveCode
cik
->
as_instance_klass
()
->
has_finalizer
())
{
cik
->
as_instance_klass
()
->
has_finalizer
())
{
es
=
PointsToNode
::
GlobalEscape
;
es
=
PointsToNode
::
GlobalEscape
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录