Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
Dragonwell11
提交
bd054af0
D
Dragonwell11
项目概览
LinuxSuRen
/
Dragonwell11
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
bd054af0
编写于
6月 07, 2018
作者:
T
tschatzl
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8204084: Remove the G1RSBarrierRegionFilter develop flag
Reviewed-by: sjohanss, shade
上级
81531998
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
13 addition
and
22 deletion
+13
-22
src/hotspot/cpu/ppc/gc/g1/g1BarrierSetAssembler_ppc.cpp
src/hotspot/cpu/ppc/gc/g1/g1BarrierSetAssembler_ppc.cpp
+3
-5
src/hotspot/cpu/s390/gc/g1/g1BarrierSetAssembler_s390.cpp
src/hotspot/cpu/s390/gc/g1/g1BarrierSetAssembler_s390.cpp
+7
-9
src/hotspot/cpu/sparc/gc/g1/g1BarrierSetAssembler_sparc.cpp
src/hotspot/cpu/sparc/gc/g1/g1BarrierSetAssembler_sparc.cpp
+3
-5
src/hotspot/share/gc/g1/g1_globals.hpp
src/hotspot/share/gc/g1/g1_globals.hpp
+0
-3
未找到文件。
src/hotspot/cpu/ppc/gc/g1/g1BarrierSetAssembler_ppc.cpp
浏览文件 @
bd054af0
...
...
@@ -214,11 +214,9 @@ void G1BarrierSetAssembler::g1_write_barrier_post(MacroAssembler* masm, Decorato
assert
(
sizeof
(
*
ct
->
card_table
()
->
byte_map_base
())
==
sizeof
(
jbyte
),
"adjust this code"
);
// Does store cross heap regions?
if
(
G1RSBarrierRegionFilter
)
{
__
xorr
(
tmp1
,
store_addr
,
new_val
);
__
srdi_
(
tmp1
,
tmp1
,
HeapRegion
::
LogOfHRGrainBytes
);
__
beq
(
CCR0
,
filtered
);
}
__
xorr
(
tmp1
,
store_addr
,
new_val
);
__
srdi_
(
tmp1
,
tmp1
,
HeapRegion
::
LogOfHRGrainBytes
);
__
beq
(
CCR0
,
filtered
);
// Crosses regions, storing NULL?
if
(
not_null
)
{
...
...
src/hotspot/cpu/s390/gc/g1/g1BarrierSetAssembler_s390.cpp
浏览文件 @
bd054af0
...
...
@@ -273,16 +273,14 @@ void G1BarrierSetAssembler::g1_write_barrier_post(MacroAssembler* masm, Decorato
// Does store cross heap regions?
// It does if the two addresses specify different grain addresses.
if
(
G1RSBarrierRegionFilter
)
{
if
(
VM_Version
::
has_DistinctOpnds
())
{
__
z_xgrk
(
Rtmp1
,
Rstore_addr
,
Rnew_val
);
}
else
{
__
z_lgr
(
Rtmp1
,
Rstore_addr
);
__
z_xgr
(
Rtmp1
,
Rnew_val
);
}
__
z_srag
(
Rtmp1
,
Rtmp1
,
HeapRegion
::
LogOfHRGrainBytes
);
__
z_bre
(
filtered
);
if
(
VM_Version
::
has_DistinctOpnds
())
{
__
z_xgrk
(
Rtmp1
,
Rstore_addr
,
Rnew_val
);
}
else
{
__
z_lgr
(
Rtmp1
,
Rstore_addr
);
__
z_xgr
(
Rtmp1
,
Rnew_val
);
}
__
z_srag
(
Rtmp1
,
Rtmp1
,
HeapRegion
::
LogOfHRGrainBytes
);
__
z_bre
(
filtered
);
// Crosses regions, storing NULL?
if
(
not_null
)
{
...
...
src/hotspot/cpu/sparc/gc/g1/g1BarrierSetAssembler_sparc.cpp
浏览文件 @
bd054af0
...
...
@@ -369,12 +369,10 @@ void G1BarrierSetAssembler::g1_write_barrier_post(MacroAssembler* masm, Register
G1BarrierSet
*
bs
=
barrier_set_cast
<
G1BarrierSet
>
(
BarrierSet
::
barrier_set
());
if
(
G1RSBarrierRegionFilter
)
{
__
xor3
(
store_addr
,
new_val
,
tmp
);
__
srlx
(
tmp
,
HeapRegion
::
LogOfHRGrainBytes
,
tmp
);
__
xor3
(
store_addr
,
new_val
,
tmp
);
__
srlx
(
tmp
,
HeapRegion
::
LogOfHRGrainBytes
,
tmp
);
__
cmp_and_brx_short
(
tmp
,
G0
,
Assembler
::
equal
,
Assembler
::
pt
,
filtered
);
}
__
cmp_and_brx_short
(
tmp
,
G0
,
Assembler
::
equal
,
Assembler
::
pt
,
filtered
);
// If the "store_addr" register is an "in" or "local" register, move it to
// a scratch reg so we can pass it as an argument.
...
...
src/hotspot/share/gc/g1/g1_globals.hpp
浏览文件 @
bd054af0
...
...
@@ -108,9 +108,6 @@
"When expanding, % of uncommitted space to claim.") \
range(0, 100) \
\
develop(bool, G1RSBarrierRegionFilter, true, \
"If true, generate region filtering code in RS barrier") \
\
product(size_t, G1UpdateBufferSize, 256, \
"Size of an update buffer") \
range(1, NOT_LP64(32*M) LP64_ONLY(1*G)) \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录