Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
92b3c0e6
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看板
提交
92b3c0e6
编写于
2月 14, 2014
作者:
S
stefank
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8034764: Use process_strong_roots to adjust the StringTable
Reviewed-by: tschatzl, brutisso
上级
b4ead34e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
3 addition
and
6 deletion
+3
-6
src/share/vm/gc_implementation/g1/g1MarkSweep.cpp
src/share/vm/gc_implementation/g1/g1MarkSweep.cpp
+1
-1
src/share/vm/memory/genMarkSweep.cpp
src/share/vm/memory/genMarkSweep.cpp
+1
-1
src/share/vm/memory/sharedHeap.cpp
src/share/vm/memory/sharedHeap.cpp
+0
-2
src/share/vm/memory/sharedHeap.hpp
src/share/vm/memory/sharedHeap.hpp
+1
-2
未找到文件。
src/share/vm/gc_implementation/g1/g1MarkSweep.cpp
浏览文件 @
92b3c0e6
...
...
@@ -307,7 +307,7 @@ void G1MarkSweep::mark_sweep_phase3() {
ClassLoaderDataGraph
::
clear_claimed_marks
();
sh
->
process_strong_roots
(
true
,
// activate StrongRootsScope
SharedHeap
::
SO_AllClasses
|
SharedHeap
::
SO_AllCodeCache
,
SharedHeap
::
SO_AllClasses
|
SharedHeap
::
SO_
Strings
|
SharedHeap
::
SO_
AllCodeCache
,
&
GenMarkSweep
::
adjust_pointer_closure
,
&
GenMarkSweep
::
adjust_klass_closure
);
...
...
src/share/vm/memory/genMarkSweep.cpp
浏览文件 @
92b3c0e6
...
...
@@ -294,7 +294,7 @@ void GenMarkSweep::mark_sweep_phase3(int level) {
gch
->
gen_process_strong_roots
(
level
,
false
,
// Younger gens are not roots.
true
,
// activate StrongRootsScope
SharedHeap
::
SO_AllClasses
|
SharedHeap
::
SO_AllCodeCache
,
SharedHeap
::
SO_AllClasses
|
SharedHeap
::
SO_
Strings
|
SharedHeap
::
SO_
AllCodeCache
,
&
adjust_pointer_closure
,
&
adjust_pointer_closure
,
&
adjust_klass_closure
);
...
...
src/share/vm/memory/sharedHeap.cpp
浏览文件 @
92b3c0e6
...
...
@@ -239,8 +239,6 @@ static AlwaysTrueClosure always_true;
void
SharedHeap
::
process_weak_roots
(
OopClosure
*
root_closure
)
{
// Global (weak) JNI handles
JNIHandles
::
weak_oops_do
(
&
always_true
,
root_closure
);
StringTable
::
oops_do
(
root_closure
);
}
void
SharedHeap
::
set_barrier_set
(
BarrierSet
*
bs
)
{
...
...
src/share/vm/memory/sharedHeap.hpp
浏览文件 @
92b3c0e6
...
...
@@ -240,8 +240,7 @@ public:
OopClosure
*
roots
,
KlassClosure
*
klass_closure
);
// Apply "root_closure" to all the weak roots of the system.
// These include JNI weak roots and string table.
// Apply "root_closure" to the JNI weak roots..
void
process_weak_roots
(
OopClosure
*
root_closure
);
// The functions below are helper functions that a subclass of
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录