Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
9f12cf39
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看板
提交
9f12cf39
编写于
9月 16, 2009
作者:
N
never
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6854812: 6.0_14-b08 crashes with a SIGSEGV
Reviewed-by: kvn, twisti
上级
00363594
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
29 addition
and
6 deletion
+29
-6
src/share/vm/ci/ciMethod.cpp
src/share/vm/ci/ciMethod.cpp
+13
-3
src/share/vm/ci/ciMethod.hpp
src/share/vm/ci/ciMethod.hpp
+6
-0
src/share/vm/ci/ciTypeFlow.cpp
src/share/vm/ci/ciTypeFlow.cpp
+7
-2
src/share/vm/opto/parse1.cpp
src/share/vm/opto/parse1.cpp
+3
-1
未找到文件。
src/share/vm/ci/ciMethod.cpp
浏览文件 @
9f12cf39
...
...
@@ -325,10 +325,10 @@ ciTypeFlow* ciMethod::get_osr_flow_analysis(int osr_bci) {
}
// ------------------------------------------------------------------
// ciMethod::liveness_at_bci
// ciMethod::
raw_
liveness_at_bci
//
// Which local variables are live at a specific bci?
MethodLivenessResult
ciMethod
::
liveness_at_bci
(
int
bci
)
{
MethodLivenessResult
ciMethod
::
raw_
liveness_at_bci
(
int
bci
)
{
check_is_loaded
();
if
(
_liveness
==
NULL
)
{
// Create the liveness analyzer.
...
...
@@ -336,7 +336,17 @@ MethodLivenessResult ciMethod::liveness_at_bci(int bci) {
_liveness
=
new
(
arena
)
MethodLiveness
(
arena
,
this
);
_liveness
->
compute_liveness
();
}
MethodLivenessResult
result
=
_liveness
->
get_liveness_at
(
bci
);
return
_liveness
->
get_liveness_at
(
bci
);
}
// ------------------------------------------------------------------
// ciMethod::liveness_at_bci
//
// Which local variables are live at a specific bci? When debugging
// will return true for all locals in some cases to improve debug
// information.
MethodLivenessResult
ciMethod
::
liveness_at_bci
(
int
bci
)
{
MethodLivenessResult
result
=
raw_liveness_at_bci
(
bci
);
if
(
CURRENT_ENV
->
jvmti_can_access_local_variables
()
||
DeoptimizeALot
||
CompileTheWorld
)
{
// Keep all locals live for the user's edification and amusement.
result
.
at_put_range
(
0
,
result
.
size
(),
true
);
...
...
src/share/vm/ci/ciMethod.hpp
浏览文件 @
9f12cf39
...
...
@@ -149,6 +149,12 @@ class ciMethod : public ciObject {
bool
has_monitor_bytecodes
()
const
{
return
_uses_monitors
;
}
bool
has_balanced_monitors
();
// Returns a bitmap indicating which locals are required to be
// maintained as live for deopt. raw_liveness_at_bci is always the
// direct output of the liveness computation while liveness_at_bci
// may mark all locals as live to improve support for debugging Java
// code by maintaining the state of as many locals as possible.
MethodLivenessResult
raw_liveness_at_bci
(
int
bci
);
MethodLivenessResult
liveness_at_bci
(
int
bci
);
// Get the interpreters viewpoint on oop liveness. MethodLiveness is
...
...
src/share/vm/ci/ciTypeFlow.cpp
浏览文件 @
9f12cf39
...
...
@@ -2486,8 +2486,13 @@ void ciTypeFlow::build_loop_tree(Block* blk) {
// Assume irreducible entries need more data flow
add_to_work_list
(
succ
);
}
lp
=
lp
->
parent
();
assert
(
lp
!=
NULL
,
"nested loop must have parent by now"
);
Loop
*
plp
=
lp
->
parent
();
if
(
plp
==
NULL
)
{
// This only happens for some irreducible cases. The parent
// will be updated during a later pass.
break
;
}
lp
=
plp
;
}
// Merge loop tree branch for all successors.
...
...
src/share/vm/opto/parse1.cpp
浏览文件 @
9f12cf39
...
...
@@ -229,7 +229,9 @@ void Parse::load_interpreter_state(Node* osr_buf) {
}
}
MethodLivenessResult
live_locals
=
method
()
->
liveness_at_bci
(
osr_bci
());
// 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
());
if
(
!
live_locals
.
is_valid
())
{
// Degenerate or breakpointed method.
C
->
record_method_not_compilable
(
"OSR in empty or breakpointed method"
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录