Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
77ac5c1b
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,发现更多精彩内容 >>
提交
77ac5c1b
编写于
1月 11, 2013
作者:
T
twisti
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8005818: Shark: fix OSR for non-empty incoming stack
Reviewed-by: twisti Contributed-by:
N
Roman Kennke
<
rkennke@redhat.com
>
上级
908e0bc9
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
1 deletion
+8
-1
src/share/vm/shark/sharkCompiler.cpp
src/share/vm/shark/sharkCompiler.cpp
+3
-0
src/share/vm/shark/sharkFunction.cpp
src/share/vm/shark/sharkFunction.cpp
+4
-0
src/share/vm/shark/sharkInvariants.hpp
src/share/vm/shark/sharkInvariants.hpp
+1
-1
未找到文件。
src/share/vm/shark/sharkCompiler.cpp
浏览文件 @
77ac5c1b
...
...
@@ -185,6 +185,9 @@ void SharkCompiler::compile_method(ciEnv* env,
// Build the LLVM IR for the method
Function
*
function
=
SharkFunction
::
build
(
env
,
&
builder
,
flow
,
name
);
if
(
env
->
failing
())
{
return
;
}
// Generate native code. It's unpleasant that we have to drop into
// the VM to do this -- it blocks safepoints -- but I can't see any
...
...
src/share/vm/shark/sharkFunction.cpp
浏览文件 @
77ac5c1b
...
...
@@ -77,6 +77,10 @@ void SharkFunction::initialize(const char *name) {
// Walk the tree from the start block to determine which
// blocks are entered and which blocks require phis
SharkTopLevelBlock
*
start_block
=
block
(
flow
()
->
start_block_num
());
if
(
is_osr
()
&&
start_block
->
stack_depth_at_entry
()
!=
0
)
{
env
()
->
record_method_not_compilable
(
"can't compile OSR block with incoming stack-depth > 0"
);
return
;
}
assert
(
start_block
->
start
()
==
flow
()
->
start_bci
(),
"blocks out of order"
);
start_block
->
enter
();
...
...
src/share/vm/shark/sharkInvariants.hpp
浏览文件 @
77ac5c1b
...
...
@@ -68,7 +68,7 @@ class SharkCompileInvariants : public ResourceObj {
//
// Accessing this directly is kind of ugly, so it's private. Add
// new accessors below if you need something from it.
pr
ivate
:
pr
otected
:
ciEnv
*
env
()
const
{
assert
(
_env
!=
NULL
,
"env not available"
);
return
_env
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录