Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
f00fd8ba
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看板
提交
f00fd8ba
编写于
11月 24, 2009
作者:
C
cfang
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
2410fd55
418cb2e5
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
11 addition
and
5 deletion
+11
-5
src/share/vm/interpreter/templateInterpreter.cpp
src/share/vm/interpreter/templateInterpreter.cpp
+5
-3
src/share/vm/opto/escape.cpp
src/share/vm/opto/escape.cpp
+0
-1
src/share/vm/opto/parse1.cpp
src/share/vm/opto/parse1.cpp
+6
-1
未找到文件。
src/share/vm/interpreter/templateInterpreter.cpp
浏览文件 @
f00fd8ba
...
...
@@ -465,9 +465,11 @@ void TemplateInterpreterGenerator::set_wide_entry_point(Template* t, address& we
void
TemplateInterpreterGenerator
::
set_short_entry_points
(
Template
*
t
,
address
&
bep
,
address
&
cep
,
address
&
sep
,
address
&
aep
,
address
&
iep
,
address
&
lep
,
address
&
fep
,
address
&
dep
,
address
&
vep
)
{
assert
(
t
->
is_valid
(),
"template must exist"
);
switch
(
t
->
tos_in
())
{
case
btos
:
vep
=
__
pc
();
__
pop
(
btos
);
bep
=
__
pc
();
generate_and_dispatch
(
t
);
break
;
case
ctos
:
vep
=
__
pc
();
__
pop
(
ctos
);
sep
=
__
pc
();
generate_and_dispatch
(
t
);
break
;
case
stos
:
vep
=
__
pc
();
__
pop
(
stos
);
sep
=
__
pc
();
generate_and_dispatch
(
t
);
break
;
case
btos
:
case
ctos
:
case
stos
:
ShouldNotReachHere
();
// btos/ctos/stos should use itos.
break
;
case
atos
:
vep
=
__
pc
();
__
pop
(
atos
);
aep
=
__
pc
();
generate_and_dispatch
(
t
);
break
;
case
itos
:
vep
=
__
pc
();
__
pop
(
itos
);
iep
=
__
pc
();
generate_and_dispatch
(
t
);
break
;
case
ltos
:
vep
=
__
pc
();
__
pop
(
ltos
);
lep
=
__
pc
();
generate_and_dispatch
(
t
);
break
;
...
...
src/share/vm/opto/escape.cpp
浏览文件 @
f00fd8ba
...
...
@@ -1150,7 +1150,6 @@ void ConnectionGraph::split_unique_types(GrowableArray<Node *> &alloc_worklist)
}
else
{
assert
(
n
->
is_Mem
(),
"memory node required."
);
Node
*
addr
=
n
->
in
(
MemNode
::
Address
);
assert
(
addr
->
is_AddP
(),
"AddP required"
);
const
Type
*
addr_t
=
igvn
->
type
(
addr
);
if
(
addr_t
==
Type
::
TOP
)
continue
;
...
...
src/share/vm/opto/parse1.cpp
浏览文件 @
f00fd8ba
...
...
@@ -231,12 +231,13 @@ void Parse::load_interpreter_state(Node* osr_buf) {
// Use the raw liveness computation to make sure that unexpected
// values don't propagate into the OSR frame.
MethodLivenessResult
live_locals
=
method
()
->
raw_
liveness_at_bci
(
osr_bci
());
MethodLivenessResult
live_locals
=
method
()
->
liveness_at_bci
(
osr_bci
());
if
(
!
live_locals
.
is_valid
())
{
// Degenerate or breakpointed method.
C
->
record_method_not_compilable
(
"OSR in empty or breakpointed method"
);
return
;
}
MethodLivenessResult
raw_live_locals
=
method
()
->
raw_liveness_at_bci
(
osr_bci
());
// Extract the needed locals from the interpreter frame.
Node
*
locals_addr
=
basic_plus_adr
(
osr_buf
,
osr_buf
,
(
max_locals
-
1
)
*
wordSize
);
...
...
@@ -316,6 +317,10 @@ void Parse::load_interpreter_state(Node* osr_buf) {
continue
;
}
}
if
(
type
->
basic_type
()
==
T_ADDRESS
&&
!
raw_live_locals
.
at
(
index
))
{
// Skip type check for dead address locals
continue
;
}
set_local
(
index
,
check_interpreter_type
(
l
,
type
,
bad_type_exit
));
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录