Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
b021a51f
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看板
提交
b021a51f
编写于
5月 04, 2011
作者:
I
iveresov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7041501: NUMA: Expand the old gen more aggressively
Summary: Expand the old gen in bigger increments Reviewed-by: jmasa
上级
cd72a3fa
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
11 addition
and
0 deletion
+11
-0
src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp
src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp
+6
-0
src/share/vm/runtime/arguments.cpp
src/share/vm/runtime/arguments.cpp
+5
-0
未找到文件。
src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp
浏览文件 @
b021a51f
...
@@ -224,6 +224,12 @@ void PSOldGen::expand(size_t bytes) {
...
@@ -224,6 +224,12 @@ void PSOldGen::expand(size_t bytes) {
const
size_t
alignment
=
virtual_space
()
->
alignment
();
const
size_t
alignment
=
virtual_space
()
->
alignment
();
size_t
aligned_bytes
=
align_size_up
(
bytes
,
alignment
);
size_t
aligned_bytes
=
align_size_up
(
bytes
,
alignment
);
size_t
aligned_expand_bytes
=
align_size_up
(
MinHeapDeltaBytes
,
alignment
);
size_t
aligned_expand_bytes
=
align_size_up
(
MinHeapDeltaBytes
,
alignment
);
if
(
UseNUMA
)
{
// With NUMA we use round-robin page allocation for the old gen. Expand by at least
// providing a page per lgroup. Alignment is larger or equal to the page size.
aligned_expand_bytes
=
MAX2
(
aligned_expand_bytes
,
alignment
*
os
::
numa_get_groups_num
());
}
if
(
aligned_bytes
==
0
){
if
(
aligned_bytes
==
0
){
// The alignment caused the number of bytes to wrap. An expand_by(0) will
// The alignment caused the number of bytes to wrap. An expand_by(0) will
// return true with the implication that and expansion was done when it
// return true with the implication that and expansion was done when it
...
...
src/share/vm/runtime/arguments.cpp
浏览文件 @
b021a51f
...
@@ -1423,6 +1423,11 @@ void Arguments::set_parallel_gc_flags() {
...
@@ -1423,6 +1423,11 @@ void Arguments::set_parallel_gc_flags() {
}
}
}
}
}
}
if
(
UseNUMA
)
{
if
(
FLAG_IS_DEFAULT
(
MinHeapDeltaBytes
))
{
FLAG_SET_DEFAULT
(
MinHeapDeltaBytes
,
64
*
M
);
}
}
}
}
void
Arguments
::
set_g1_gc_flags
()
{
void
Arguments
::
set_g1_gc_flags
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录