Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
e4c47b1f
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,发现更多精彩内容 >>
提交
e4c47b1f
编写于
7月 19, 2013
作者:
M
minqi
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
eaea6ac5
7deb0fb7
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
14 addition
and
14 deletion
+14
-14
src/os_cpu/bsd_x86/vm/orderAccess_bsd_x86.inline.hpp
src/os_cpu/bsd_x86/vm/orderAccess_bsd_x86.inline.hpp
+3
-3
src/os_cpu/linux_x86/vm/orderAccess_linux_x86.inline.hpp
src/os_cpu/linux_x86/vm/orderAccess_linux_x86.inline.hpp
+4
-4
src/os_cpu/solaris_x86/vm/orderAccess_solaris_x86.inline.hpp
src/os_cpu/solaris_x86/vm/orderAccess_solaris_x86.inline.hpp
+4
-4
src/os_cpu/windows_x86/vm/orderAccess_windows_x86.inline.hpp
src/os_cpu/windows_x86/vm/orderAccess_windows_x86.inline.hpp
+3
-3
未找到文件。
src/os_cpu/bsd_x86/vm/orderAccess_bsd_x86.inline.hpp
浏览文件 @
e4c47b1f
...
...
@@ -72,7 +72,7 @@ inline jushort OrderAccess::load_acquire(volatile jushort* p) { return *p; }
inline
juint
OrderAccess
::
load_acquire
(
volatile
juint
*
p
)
{
return
*
p
;
}
inline
julong
OrderAccess
::
load_acquire
(
volatile
julong
*
p
)
{
return
Atomic
::
load
((
volatile
jlong
*
)
p
);
}
inline
jfloat
OrderAccess
::
load_acquire
(
volatile
jfloat
*
p
)
{
return
*
p
;
}
inline
jdouble
OrderAccess
::
load_acquire
(
volatile
jdouble
*
p
)
{
return
*
p
;
}
inline
jdouble
OrderAccess
::
load_acquire
(
volatile
jdouble
*
p
)
{
return
jdouble_cast
(
Atomic
::
load
((
volatile
jlong
*
)
p
))
;
}
inline
intptr_t
OrderAccess
::
load_ptr_acquire
(
volatile
intptr_t
*
p
)
{
return
*
p
;
}
inline
void
*
OrderAccess
::
load_ptr_acquire
(
volatile
void
*
p
)
{
return
*
(
void
*
volatile
*
)
p
;
}
...
...
@@ -87,7 +87,7 @@ inline void OrderAccess::release_store(volatile jushort* p, jushort v) { *p
inline
void
OrderAccess
::
release_store
(
volatile
juint
*
p
,
juint
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
julong
*
p
,
julong
v
)
{
Atomic
::
store
((
jlong
)
v
,
(
volatile
jlong
*
)
p
);
}
inline
void
OrderAccess
::
release_store
(
volatile
jfloat
*
p
,
jfloat
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
jdouble
*
p
,
jdouble
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
jdouble
*
p
,
jdouble
v
)
{
release_store
((
volatile
jlong
*
)
p
,
jlong_cast
(
v
))
;
}
inline
void
OrderAccess
::
release_store_ptr
(
volatile
intptr_t
*
p
,
intptr_t
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store_ptr
(
volatile
void
*
p
,
void
*
v
)
{
*
(
void
*
volatile
*
)
p
=
v
;
}
...
...
@@ -190,7 +190,7 @@ inline void OrderAccess::release_store_fence(volatile juint* p, juint v)
inline
void
OrderAccess
::
release_store_fence
(
volatile
julong
*
p
,
julong
v
)
{
release_store_fence
((
volatile
jlong
*
)
p
,
(
jlong
)
v
);
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jfloat
*
p
,
jfloat
v
)
{
*
p
=
v
;
fence
();
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jdouble
*
p
,
jdouble
v
)
{
*
p
=
v
;
fence
(
);
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jdouble
*
p
,
jdouble
v
)
{
release_store_fence
((
volatile
jlong
*
)
p
,
jdouble_cast
(
v
)
);
}
inline
void
OrderAccess
::
release_store_ptr_fence
(
volatile
intptr_t
*
p
,
intptr_t
v
)
{
#ifdef AMD64
...
...
src/os_cpu/linux_x86/vm/orderAccess_linux_x86.inline.hpp
浏览文件 @
e4c47b1f
...
...
@@ -72,7 +72,7 @@ inline jushort OrderAccess::load_acquire(volatile jushort* p) { return *p; }
inline
juint
OrderAccess
::
load_acquire
(
volatile
juint
*
p
)
{
return
*
p
;
}
inline
julong
OrderAccess
::
load_acquire
(
volatile
julong
*
p
)
{
return
Atomic
::
load
((
volatile
jlong
*
)
p
);
}
inline
jfloat
OrderAccess
::
load_acquire
(
volatile
jfloat
*
p
)
{
return
*
p
;
}
inline
jdouble
OrderAccess
::
load_acquire
(
volatile
jdouble
*
p
)
{
return
*
p
;
}
inline
jdouble
OrderAccess
::
load_acquire
(
volatile
jdouble
*
p
)
{
return
jdouble_cast
(
Atomic
::
load
((
volatile
jlong
*
)
p
))
;
}
inline
intptr_t
OrderAccess
::
load_ptr_acquire
(
volatile
intptr_t
*
p
)
{
return
*
p
;
}
inline
void
*
OrderAccess
::
load_ptr_acquire
(
volatile
void
*
p
)
{
return
*
(
void
*
volatile
*
)
p
;
}
...
...
@@ -87,7 +87,7 @@ inline void OrderAccess::release_store(volatile jushort* p, jushort v) { *p
inline
void
OrderAccess
::
release_store
(
volatile
juint
*
p
,
juint
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
julong
*
p
,
julong
v
)
{
Atomic
::
store
((
jlong
)
v
,
(
volatile
jlong
*
)
p
);
}
inline
void
OrderAccess
::
release_store
(
volatile
jfloat
*
p
,
jfloat
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
jdouble
*
p
,
jdouble
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
jdouble
*
p
,
jdouble
v
)
{
release_store
((
volatile
jlong
*
)
p
,
jlong_cast
(
v
))
;
}
inline
void
OrderAccess
::
release_store_ptr
(
volatile
intptr_t
*
p
,
intptr_t
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store_ptr
(
volatile
void
*
p
,
void
*
v
)
{
*
(
void
*
volatile
*
)
p
=
v
;
}
...
...
@@ -129,7 +129,7 @@ inline void OrderAccess::store_fence(jushort* p, jushort v) { store_fence((j
inline
void
OrderAccess
::
store_fence
(
juint
*
p
,
juint
v
)
{
store_fence
((
jint
*
)
p
,
(
jint
)
v
);
}
inline
void
OrderAccess
::
store_fence
(
julong
*
p
,
julong
v
)
{
store_fence
((
jlong
*
)
p
,
(
jlong
)
v
);
}
inline
void
OrderAccess
::
store_fence
(
jfloat
*
p
,
jfloat
v
)
{
*
p
=
v
;
fence
();
}
inline
void
OrderAccess
::
store_fence
(
jdouble
*
p
,
jdouble
v
)
{
*
p
=
v
;
fence
(
);
}
inline
void
OrderAccess
::
store_fence
(
jdouble
*
p
,
jdouble
v
)
{
store_fence
((
jlong
*
)
p
,
jlong_cast
(
v
)
);
}
inline
void
OrderAccess
::
store_ptr_fence
(
intptr_t
*
p
,
intptr_t
v
)
{
#ifdef AMD64
...
...
@@ -190,7 +190,7 @@ inline void OrderAccess::release_store_fence(volatile juint* p, juint v)
inline
void
OrderAccess
::
release_store_fence
(
volatile
julong
*
p
,
julong
v
)
{
release_store_fence
((
volatile
jlong
*
)
p
,
(
jlong
)
v
);
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jfloat
*
p
,
jfloat
v
)
{
*
p
=
v
;
fence
();
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jdouble
*
p
,
jdouble
v
)
{
*
p
=
v
;
fence
(
);
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jdouble
*
p
,
jdouble
v
)
{
release_store_fence
((
volatile
jlong
*
)
p
,
jlong_cast
(
v
)
);
}
inline
void
OrderAccess
::
release_store_ptr_fence
(
volatile
intptr_t
*
p
,
intptr_t
v
)
{
#ifdef AMD64
...
...
src/os_cpu/solaris_x86/vm/orderAccess_solaris_x86.inline.hpp
浏览文件 @
e4c47b1f
...
...
@@ -88,7 +88,7 @@ inline jushort OrderAccess::load_acquire(volatile jushort* p) { return *p; }
inline
juint
OrderAccess
::
load_acquire
(
volatile
juint
*
p
)
{
return
*
p
;
}
inline
julong
OrderAccess
::
load_acquire
(
volatile
julong
*
p
)
{
return
Atomic
::
load
((
volatile
jlong
*
)
p
);
}
inline
jfloat
OrderAccess
::
load_acquire
(
volatile
jfloat
*
p
)
{
return
*
p
;
}
inline
jdouble
OrderAccess
::
load_acquire
(
volatile
jdouble
*
p
)
{
return
*
p
;
}
inline
jdouble
OrderAccess
::
load_acquire
(
volatile
jdouble
*
p
)
{
return
jdouble_cast
(
Atomic
::
load
((
volatile
jlong
*
)
p
))
;
}
inline
intptr_t
OrderAccess
::
load_ptr_acquire
(
volatile
intptr_t
*
p
)
{
return
*
p
;
}
inline
void
*
OrderAccess
::
load_ptr_acquire
(
volatile
void
*
p
)
{
return
*
(
void
*
volatile
*
)
p
;
}
...
...
@@ -103,7 +103,7 @@ inline void OrderAccess::release_store(volatile jushort* p, jushort v) { *p
inline
void
OrderAccess
::
release_store
(
volatile
juint
*
p
,
juint
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
julong
*
p
,
julong
v
)
{
Atomic
::
store
((
jlong
)
v
,
(
volatile
jlong
*
)
p
);
}
inline
void
OrderAccess
::
release_store
(
volatile
jfloat
*
p
,
jfloat
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
jdouble
*
p
,
jdouble
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
jdouble
*
p
,
jdouble
v
)
{
release_store
((
volatile
jlong
*
)
p
,
jlong_cast
(
v
))
;
}
inline
void
OrderAccess
::
release_store_ptr
(
volatile
intptr_t
*
p
,
intptr_t
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store_ptr
(
volatile
void
*
p
,
void
*
v
)
{
*
(
void
*
volatile
*
)
p
=
v
;
}
...
...
@@ -129,9 +129,9 @@ inline void OrderAccess::release_store_fence(volatile jlong* p, jlong v)
inline
void
OrderAccess
::
release_store_fence
(
volatile
jubyte
*
p
,
jubyte
v
)
{
*
p
=
v
;
fence
();
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jushort
*
p
,
jushort
v
)
{
*
p
=
v
;
fence
();
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
juint
*
p
,
juint
v
)
{
*
p
=
v
;
fence
();
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
julong
*
p
,
julong
v
)
{
release_store
(
p
,
v
);
fence
();
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
julong
*
p
,
julong
v
)
{
release_store
(
(
jlong
*
)
p
,
(
jlong
)
v
);
fence
();
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jfloat
*
p
,
jfloat
v
)
{
*
p
=
v
;
fence
();
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jdouble
*
p
,
jdouble
v
)
{
*
p
=
v
;
fence
(
);
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jdouble
*
p
,
jdouble
v
)
{
release_store_fence
((
volatile
jlong
*
)
p
,
jlong_cast
(
v
)
);
}
inline
void
OrderAccess
::
release_store_ptr_fence
(
volatile
intptr_t
*
p
,
intptr_t
v
)
{
*
p
=
v
;
fence
();
}
inline
void
OrderAccess
::
release_store_ptr_fence
(
volatile
void
*
p
,
void
*
v
)
{
*
(
void
*
volatile
*
)
p
=
v
;
fence
();
}
...
...
src/os_cpu/windows_x86/vm/orderAccess_windows_x86.inline.hpp
浏览文件 @
e4c47b1f
...
...
@@ -71,7 +71,7 @@ inline jushort OrderAccess::load_acquire(volatile jushort* p) { return *p; }
inline
juint
OrderAccess
::
load_acquire
(
volatile
juint
*
p
)
{
return
*
p
;
}
inline
julong
OrderAccess
::
load_acquire
(
volatile
julong
*
p
)
{
return
Atomic
::
load
((
volatile
jlong
*
)
p
);
}
inline
jfloat
OrderAccess
::
load_acquire
(
volatile
jfloat
*
p
)
{
return
*
p
;
}
inline
jdouble
OrderAccess
::
load_acquire
(
volatile
jdouble
*
p
)
{
return
*
p
;
}
inline
jdouble
OrderAccess
::
load_acquire
(
volatile
jdouble
*
p
)
{
return
jdouble_cast
(
Atomic
::
load
((
volatile
jlong
*
)
p
))
;
}
inline
intptr_t
OrderAccess
::
load_ptr_acquire
(
volatile
intptr_t
*
p
)
{
return
*
p
;
}
inline
void
*
OrderAccess
::
load_ptr_acquire
(
volatile
void
*
p
)
{
return
*
(
void
*
volatile
*
)
p
;
}
...
...
@@ -86,7 +86,7 @@ inline void OrderAccess::release_store(volatile jushort* p, jushort v) { *p
inline
void
OrderAccess
::
release_store
(
volatile
juint
*
p
,
juint
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
julong
*
p
,
julong
v
)
{
Atomic
::
store
((
jlong
)
v
,
(
volatile
jlong
*
)
p
);
}
inline
void
OrderAccess
::
release_store
(
volatile
jfloat
*
p
,
jfloat
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
jdouble
*
p
,
jdouble
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store
(
volatile
jdouble
*
p
,
jdouble
v
)
{
release_store
((
volatile
jlong
*
)
p
,
jlong_cast
(
v
))
;
}
inline
void
OrderAccess
::
release_store_ptr
(
volatile
intptr_t
*
p
,
intptr_t
v
)
{
*
p
=
v
;
}
inline
void
OrderAccess
::
release_store_ptr
(
volatile
void
*
p
,
void
*
v
)
{
*
(
void
*
volatile
*
)
p
=
v
;
}
...
...
@@ -195,7 +195,7 @@ inline void OrderAccess::release_store_fence(volatile jushort* p, jushort v)
inline
void
OrderAccess
::
release_store_fence
(
volatile
juint
*
p
,
juint
v
)
{
release_store_fence
((
volatile
jint
*
)
p
,
(
jint
)
v
);
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
julong
*
p
,
julong
v
)
{
release_store_fence
((
volatile
jlong
*
)
p
,
(
jlong
)
v
);
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jfloat
*
p
,
jfloat
v
)
{
*
p
=
v
;
fence
();
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jdouble
*
p
,
jdouble
v
)
{
*
p
=
v
;
fence
(
);
}
inline
void
OrderAccess
::
release_store_fence
(
volatile
jdouble
*
p
,
jdouble
v
)
{
release_store_fence
((
volatile
jlong
*
)
p
,
jlong_cast
(
v
)
);
}
inline
void
OrderAccess
::
release_store_ptr_fence
(
volatile
intptr_t
*
p
,
intptr_t
v
)
{
#ifdef AMD64
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录