Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
0076280f
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看板
提交
0076280f
编写于
4月 03, 2014
作者:
G
goetz
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8039146: Fix 64-bit store to int JNIHandleBlock::_top
Reviewed-by: coleenp, kvn
上级
0dcbaf29
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
8 addition
and
8 deletion
+8
-8
src/cpu/sparc/vm/cppInterpreter_sparc.cpp
src/cpu/sparc/vm/cppInterpreter_sparc.cpp
+1
-1
src/cpu/sparc/vm/sharedRuntime_sparc.cpp
src/cpu/sparc/vm/sharedRuntime_sparc.cpp
+1
-1
src/cpu/sparc/vm/templateInterpreter_sparc.cpp
src/cpu/sparc/vm/templateInterpreter_sparc.cpp
+1
-1
src/cpu/x86/vm/cppInterpreter_x86.cpp
src/cpu/x86/vm/cppInterpreter_x86.cpp
+1
-1
src/cpu/x86/vm/sharedRuntime_x86_32.cpp
src/cpu/x86/vm/sharedRuntime_x86_32.cpp
+1
-1
src/cpu/x86/vm/sharedRuntime_x86_64.cpp
src/cpu/x86/vm/sharedRuntime_x86_64.cpp
+1
-1
src/cpu/x86/vm/templateInterpreter_x86_32.cpp
src/cpu/x86/vm/templateInterpreter_x86_32.cpp
+1
-1
src/cpu/x86/vm/templateInterpreter_x86_64.cpp
src/cpu/x86/vm/templateInterpreter_x86_64.cpp
+1
-1
未找到文件。
src/cpu/sparc/vm/cppInterpreter_sparc.cpp
浏览文件 @
0076280f
...
...
@@ -960,7 +960,7 @@ address InterpreterGenerator::generate_native_entry(bool synchronized) {
// reset handle block
__
ld_ptr
(
G2_thread
,
in_bytes
(
JavaThread
::
active_handles_offset
()),
G3_scratch
);
__
st
_ptr
(
G0
,
G3_scratch
,
JNIHandleBlock
::
top_offset_in_bytes
());
__
st
(
G0
,
G3_scratch
,
JNIHandleBlock
::
top_offset_in_bytes
());
// handle exceptions (exception handling will handle unlocking!)
...
...
src/cpu/sparc/vm/sharedRuntime_sparc.cpp
浏览文件 @
0076280f
...
...
@@ -2687,7 +2687,7 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
if
(
!
is_critical_native
)
{
// reset handle block
__
ld_ptr
(
G2_thread
,
in_bytes
(
JavaThread
::
active_handles_offset
()),
L5
);
__
st
_ptr
(
G0
,
L5
,
JNIHandleBlock
::
top_offset_in_bytes
());
__
st
(
G0
,
L5
,
JNIHandleBlock
::
top_offset_in_bytes
());
__
ld_ptr
(
G2_thread
,
in_bytes
(
Thread
::
pending_exception_offset
()),
G3_scratch
);
check_forward_pending_exception
(
masm
,
G3_scratch
);
...
...
src/cpu/sparc/vm/templateInterpreter_sparc.cpp
浏览文件 @
0076280f
...
...
@@ -1147,7 +1147,7 @@ address InterpreterGenerator::generate_native_entry(bool synchronized) {
// reset handle block
__
ld_ptr
(
G2_thread
,
JavaThread
::
active_handles_offset
(),
G3_scratch
);
__
st
_ptr
(
G0
,
G3_scratch
,
JNIHandleBlock
::
top_offset_in_bytes
());
__
st
(
G0
,
G3_scratch
,
JNIHandleBlock
::
top_offset_in_bytes
());
// If we have an oop result store it where it will be safe for any further gc
// until we return now that we've released the handle it might be protected by
...
...
src/cpu/x86/vm/cppInterpreter_x86.cpp
浏览文件 @
0076280f
...
...
@@ -1354,7 +1354,7 @@ address InterpreterGenerator::generate_native_entry(bool synchronized) {
// reset handle block
__
movptr
(
t
,
Address
(
thread
,
JavaThread
::
active_handles_offset
()));
__
mov
ptr
(
Address
(
t
,
JNIHandleBlock
::
top_offset_in_bytes
()),
(
int32_t
)
NULL_WORD
);
__
mov
l
(
Address
(
t
,
JNIHandleBlock
::
top_offset_in_bytes
()),
(
int32_t
)
NULL_WORD
);
// If result was an oop then unbox and save it in the frame
{
Label
L
;
...
...
src/cpu/x86/vm/sharedRuntime_x86_32.cpp
浏览文件 @
0076280f
...
...
@@ -2266,7 +2266,7 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
if
(
!
is_critical_native
)
{
// reset handle block
__
movptr
(
rcx
,
Address
(
thread
,
JavaThread
::
active_handles_offset
()));
__
mov
ptr
(
Address
(
rcx
,
JNIHandleBlock
::
top_offset_in_bytes
()),
NULL_WORD
);
__
mov
l
(
Address
(
rcx
,
JNIHandleBlock
::
top_offset_in_bytes
()),
NULL_WORD
);
// Any exception pending?
__
cmpptr
(
Address
(
thread
,
in_bytes
(
Thread
::
pending_exception_offset
())),
(
int32_t
)
NULL_WORD
);
...
...
src/cpu/x86/vm/sharedRuntime_x86_64.cpp
浏览文件 @
0076280f
...
...
@@ -2509,7 +2509,7 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
if
(
!
is_critical_native
)
{
// reset handle block
__
movptr
(
rcx
,
Address
(
r15_thread
,
JavaThread
::
active_handles_offset
()));
__
mov
ptr
(
Address
(
rcx
,
JNIHandleBlock
::
top_offset_in_bytes
()),
(
int32_t
)
NULL_WORD
);
__
mov
l
(
Address
(
rcx
,
JNIHandleBlock
::
top_offset_in_bytes
()),
(
int32_t
)
NULL_WORD
);
}
// pop our frame
...
...
src/cpu/x86/vm/templateInterpreter_x86_32.cpp
浏览文件 @
0076280f
...
...
@@ -1287,7 +1287,7 @@ address InterpreterGenerator::generate_native_entry(bool synchronized) {
// reset handle block
__
movptr
(
t
,
Address
(
thread
,
JavaThread
::
active_handles_offset
()));
__
mov
ptr
(
Address
(
t
,
JNIHandleBlock
::
top_offset_in_bytes
()),
NULL_WORD
);
__
mov
l
(
Address
(
t
,
JNIHandleBlock
::
top_offset_in_bytes
()),
NULL_WORD
);
// If result was an oop then unbox and save it in the frame
{
Label
L
;
...
...
src/cpu/x86/vm/templateInterpreter_x86_64.cpp
浏览文件 @
0076280f
...
...
@@ -1259,7 +1259,7 @@ address InterpreterGenerator::generate_native_entry(bool synchronized) {
// reset handle block
__
movptr
(
t
,
Address
(
r15_thread
,
JavaThread
::
active_handles_offset
()));
__
mov
ptr
(
Address
(
t
,
JNIHandleBlock
::
top_offset_in_bytes
()),
(
int32_t
)
NULL_WORD
);
__
mov
l
(
Address
(
t
,
JNIHandleBlock
::
top_offset_in_bytes
()),
(
int32_t
)
NULL_WORD
);
// If result is an oop unbox and store it in frame where gc will see it
// and result handler will pick it up
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录