Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
cb38e9a6
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看板
提交
cb38e9a6
编写于
10月 08, 2010
作者:
T
twisti
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6990549: Zero and Shark fixes after 6978355 and 6953144
Reviewed-by: twisti Contributed-by:
N
Gary Benson
<
gbenson@redhat.com
>
上级
9c769b6c
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
7 addition
and
8 deletion
+7
-8
src/cpu/zero/vm/interpreterRT_zero.hpp
src/cpu/zero/vm/interpreterRT_zero.hpp
+4
-4
src/share/vm/code/nmethod.cpp
src/share/vm/code/nmethod.cpp
+1
-1
src/share/vm/oops/methodOop.cpp
src/share/vm/oops/methodOop.cpp
+1
-1
src/share/vm/shark/sharkCompiler.hpp
src/share/vm/shark/sharkCompiler.hpp
+1
-2
未找到文件。
src/cpu/zero/vm/interpreterRT_zero.hpp
浏览文件 @
cb38e9a6
...
@@ -92,15 +92,15 @@ class SignatureHandlerGenerator : public SignatureHandlerGeneratorBase {
...
@@ -92,15 +92,15 @@ class SignatureHandlerGenerator : public SignatureHandlerGeneratorBase {
public:
public:
SignatureHandlerGenerator
(
methodHandle
method
,
CodeBuffer
*
buffer
)
SignatureHandlerGenerator
(
methodHandle
method
,
CodeBuffer
*
buffer
)
:
SignatureHandlerGeneratorBase
(
method
,
(
ffi_cif
*
)
buffer
->
code
_end
()),
:
SignatureHandlerGeneratorBase
(
method
,
(
ffi_cif
*
)
buffer
->
insts
_end
()),
_cb
(
buffer
)
{
_cb
(
buffer
)
{
_cb
->
set_
code
_end
((
address
)
(
cif
()
+
1
));
_cb
->
set_
insts
_end
((
address
)
(
cif
()
+
1
));
}
}
private:
private:
void
push
(
intptr_t
value
)
{
void
push
(
intptr_t
value
)
{
intptr_t
*
dst
=
(
intptr_t
*
)
_cb
->
code
_end
();
intptr_t
*
dst
=
(
intptr_t
*
)
_cb
->
insts
_end
();
_cb
->
set_
code
_end
((
address
)
(
dst
+
1
));
_cb
->
set_
insts
_end
((
address
)
(
dst
+
1
));
*
dst
=
value
;
*
dst
=
value
;
}
}
};
};
...
...
src/share/vm/code/nmethod.cpp
浏览文件 @
cb38e9a6
...
@@ -1421,7 +1421,7 @@ void nmethod::flush() {
...
@@ -1421,7 +1421,7 @@ void nmethod::flush() {
}
}
#ifdef SHARK
#ifdef SHARK
((
SharkCompiler
*
)
compiler
())
->
free_compiled_method
(
inst
ruction
s_begin
());
((
SharkCompiler
*
)
compiler
())
->
free_compiled_method
(
insts_begin
());
#endif // SHARK
#endif // SHARK
((
CodeBlob
*
)(
this
))
->
flush
();
((
CodeBlob
*
)(
this
))
->
flush
();
...
...
src/share/vm/oops/methodOop.cpp
浏览文件 @
cb38e9a6
...
@@ -758,7 +758,7 @@ void methodOopDesc::set_code(methodHandle mh, nmethod *code) {
...
@@ -758,7 +758,7 @@ void methodOopDesc::set_code(methodHandle mh, nmethod *code) {
OrderAccess
::
storestore
();
OrderAccess
::
storestore
();
#ifdef SHARK
#ifdef SHARK
mh
->
_from_interpreted_entry
=
code
->
inst
ruction
s_begin
();
mh
->
_from_interpreted_entry
=
code
->
insts_begin
();
#else
#else
mh
->
_from_compiled_entry
=
code
->
verified_entry_point
();
mh
->
_from_compiled_entry
=
code
->
verified_entry_point
();
OrderAccess
::
storestore
();
OrderAccess
::
storestore
();
...
...
src/share/vm/shark/sharkCompiler.hpp
浏览文件 @
cb38e9a6
...
@@ -103,8 +103,7 @@ class SharkCompiler : public AbstractCompiler {
...
@@ -103,8 +103,7 @@ class SharkCompiler : public AbstractCompiler {
// Global access
// Global access
public:
public:
static
SharkCompiler
*
compiler
()
{
static
SharkCompiler
*
compiler
()
{
AbstractCompiler
*
compiler
=
AbstractCompiler
*
compiler
=
CompileBroker
::
compiler
(
CompLevel_simple
);
CompileBroker
::
compiler
(
CompLevel_fast_compile
);
assert
(
compiler
->
is_shark
()
&&
compiler
->
is_initialized
(),
"should be"
);
assert
(
compiler
->
is_shark
()
&&
compiler
->
is_initialized
(),
"should be"
);
return
(
SharkCompiler
*
)
compiler
;
return
(
SharkCompiler
*
)
compiler
;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录