Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
61fbc13a
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看板
提交
61fbc13a
编写于
11月 22, 2011
作者:
J
jmasa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7106024: CMS: Removed unused code for precleaning in remark phase
Summary: Remove dead code. Reviewed-by: stefank, ysr
上级
9ee12139
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
0 addition
and
30 deletion
+0
-30
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
...ion/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
+0
-10
src/share/vm/memory/cardTableModRefBS.cpp
src/share/vm/memory/cardTableModRefBS.cpp
+0
-17
src/share/vm/memory/cardTableModRefBS.hpp
src/share/vm/memory/cardTableModRefBS.hpp
+0
-3
未找到文件。
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
浏览文件 @
61fbc13a
...
...
@@ -3582,16 +3582,6 @@ void CMSCollector::checkpointRootsInitialWork(bool asynch) {
" or no bits are set in the gc_prologue before the start of the next "
"subsequent marking phase."
);
// Temporarily disabled, since pre/post-consumption closures don't
// care about precleaned cards
#if 0
{
MemRegion mr = MemRegion((HeapWord*)_virtual_space.low(),
(HeapWord*)_virtual_space.high());
_ct->ct_bs()->preclean_dirty_cards(mr);
}
#endif
// Save the end of the used_region of the constituent generations
// to be used to limit the extent of sweep in each generation.
save_sweep_limits
();
...
...
src/share/vm/memory/cardTableModRefBS.cpp
浏览文件 @
61fbc13a
...
...
@@ -662,23 +662,6 @@ MemRegion CardTableModRefBS::dirty_card_range_after_reset(MemRegion mr,
return
MemRegion
(
mr
.
end
(),
mr
.
end
());
}
// Set all the dirty cards in the given region to "precleaned" state.
void
CardTableModRefBS
::
preclean_dirty_cards
(
MemRegion
mr
)
{
for
(
int
i
=
0
;
i
<
_cur_covered_regions
;
i
++
)
{
MemRegion
mri
=
mr
.
intersection
(
_covered
[
i
]);
if
(
!
mri
.
is_empty
())
{
jbyte
*
cur_entry
,
*
limit
;
for
(
cur_entry
=
byte_for
(
mri
.
start
()),
limit
=
byte_for
(
mri
.
last
());
cur_entry
<=
limit
;
cur_entry
++
)
{
if
(
*
cur_entry
==
dirty_card
)
{
*
cur_entry
=
precleaned_card
;
}
}
}
}
}
uintx
CardTableModRefBS
::
ct_max_alignment_constraint
()
{
return
card_size
*
os
::
vm_page_size
();
}
...
...
src/share/vm/memory/cardTableModRefBS.hpp
浏览文件 @
61fbc13a
...
...
@@ -435,9 +435,6 @@ public:
MemRegion
dirty_card_range_after_reset
(
MemRegion
mr
,
bool
reset
,
int
reset_val
);
// Set all the dirty cards in the given region to precleaned state.
void
preclean_dirty_cards
(
MemRegion
mr
);
// Provide read-only access to the card table array.
const
jbyte
*
byte_for_const
(
const
void
*
p
)
const
{
return
byte_for
(
p
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录