Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
9aaa9b40
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看板
提交
9aaa9b40
编写于
8月 28, 2008
作者:
P
poonam
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
2cefb09b
67c26660
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
8 addition
and
28 deletion
+8
-28
src/share/vm/gc_implementation/parNew/parGCAllocBuffer.cpp
src/share/vm/gc_implementation/parNew/parGCAllocBuffer.cpp
+1
-1
src/share/vm/memory/blockOffsetTable.hpp
src/share/vm/memory/blockOffsetTable.hpp
+6
-0
src/share/vm/memory/compactingPermGenGen.cpp
src/share/vm/memory/compactingPermGenGen.cpp
+0
-24
src/share/vm/memory/compactingPermGenGen.hpp
src/share/vm/memory/compactingPermGenGen.hpp
+0
-2
src/share/vm/runtime/globals.hpp
src/share/vm/runtime/globals.hpp
+1
-1
未找到文件。
src/share/vm/gc_implementation/parNew/parGCAllocBuffer.cpp
浏览文件 @
9aaa9b40
...
...
@@ -229,7 +229,7 @@ void ParGCAllocBufferWithBOT::retire(bool end_of_gc, bool retain) {
HeapWord
*
first_card_start
=
_bsa
->
address_for_index
(
first_card_index
);
if
(
first_card_start
<
pre_top
)
{
HeapWord
*
second_card_start
=
_bsa
->
address_for_index
(
first_card_index
+
1
);
_bsa
->
inc_by_region_size
(
first_card_start
);
// Ensure enough room to fill with the smallest block
second_card_start
=
MAX2
(
second_card_start
,
pre_top
+
AlignmentReserve
);
...
...
src/share/vm/memory/blockOffsetTable.hpp
浏览文件 @
9aaa9b40
...
...
@@ -199,6 +199,12 @@ public:
// "index" in "_offset_array".
HeapWord
*
address_for_index
(
size_t
index
)
const
;
// Return the address "p" incremented by the size of
// a region. This method does not align the address
// returned to the start of a region. It is a simple
// primitive.
HeapWord
*
inc_by_region_size
(
HeapWord
*
p
)
const
{
return
p
+
N_words
;
}
// Shared space support
void
serialize
(
SerializeOopClosure
*
soc
,
HeapWord
*
start
,
HeapWord
*
end
);
};
...
...
src/share/vm/memory/compactingPermGenGen.cpp
浏览文件 @
9aaa9b40
...
...
@@ -421,30 +421,6 @@ size_t CompactingPermGenGen::max_capacity() const {
}
bool
CompactingPermGenGen
::
grow_by
(
size_t
bytes
)
{
// Don't allow _virtual_size to expand into shared spaces.
size_t
max_bytes
=
_virtual_space
.
uncommitted_size
()
-
_shared_space_size
;
if
(
bytes
>
_shared_space_size
)
{
bytes
=
_shared_space_size
;
}
return
OneContigSpaceCardGeneration
::
grow_by
(
bytes
);
}
bool
CompactingPermGenGen
::
grow_to_reserved
()
{
// Don't allow _virtual_size to expand into shared spaces.
bool
success
=
false
;
if
(
_virtual_space
.
uncommitted_size
()
>
_shared_space_size
)
{
size_t
remaining_bytes
=
_virtual_space
.
uncommitted_size
()
-
_shared_space_size
;
success
=
OneContigSpaceCardGeneration
::
grow_by
(
remaining_bytes
);
DEBUG_ONLY
(
if
(
!
success
)
warning
(
"grow to reserved failed"
);)
}
return
success
;
}
// No young generation references, clear this generation's main space's
// card table entries. Do NOT clear the card table entries for the
// read-only space (always clear) or the read-write space (valuable
...
...
src/share/vm/memory/compactingPermGenGen.hpp
浏览文件 @
9aaa9b40
...
...
@@ -183,8 +183,6 @@ public:
void
compact
();
void
post_compact
();
size_t
contiguous_available
()
const
;
bool
grow_by
(
size_t
bytes
);
virtual
bool
grow_to_reserved
();
void
clear_remembered_set
();
void
invalidate_remembered_set
();
...
...
src/share/vm/runtime/globals.hpp
浏览文件 @
9aaa9b40
...
...
@@ -1443,7 +1443,7 @@ class CommandLineFlags {
"CMSPrecleanNumerator:CMSPrecleanDenominator yields convergence" \
" ratio") \
\
product(bool, CMSPrecleanRefLists1,
true,
\
product(bool, CMSPrecleanRefLists1,
false,
\
"Preclean ref lists during (initial) preclean phase") \
\
product(bool, CMSPrecleanRefLists2, false, \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录