Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
cdbde15e
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看板
提交
cdbde15e
编写于
7月 11, 2008
作者:
J
jcoomes
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6718283: existing uses of *_FORMAT_W() were broken by 6521491
Reviewed-by: ysr, pbk
上级
ee23213e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
15 addition
and
15 deletion
+15
-15
src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
.../gc_implementation/parallelScavenge/psParallelCompact.cpp
+15
-15
未找到文件。
src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
浏览文件 @
cdbde15e
...
...
@@ -200,8 +200,8 @@ void PSParallelCompact::print_chunk_ranges()
for
(
unsigned
int
id
=
0
;
id
<
last_space_id
;
++
id
)
{
const
MutableSpace
*
space
=
_space_info
[
id
].
space
();
tty
->
print_cr
(
"%u %s "
SIZE_FORMAT_W
(
"10"
)
" "
SIZE_FORMAT_W
(
"10"
)
" "
SIZE_FORMAT_W
(
"10"
)
" "
SIZE_FORMAT_W
(
"10"
)
" "
,
SIZE_FORMAT_W
(
10
)
" "
SIZE_FORMAT_W
(
10
)
" "
SIZE_FORMAT_W
(
10
)
" "
SIZE_FORMAT_W
(
10
)
" "
,
id
,
space_names
[
id
],
summary_data
().
addr_to_chunk_idx
(
space
->
bottom
()),
summary_data
().
addr_to_chunk_idx
(
space
->
top
()),
...
...
@@ -213,8 +213,8 @@ void PSParallelCompact::print_chunk_ranges()
void
print_generic_summary_chunk
(
size_t
i
,
const
ParallelCompactData
::
ChunkData
*
c
)
{
#define CHUNK_IDX_FORMAT SIZE_FORMAT_W(
"7"
)
#define CHUNK_DATA_FORMAT SIZE_FORMAT_W(
"5"
)
#define CHUNK_IDX_FORMAT SIZE_FORMAT_W(
7
)
#define CHUNK_DATA_FORMAT SIZE_FORMAT_W(
5
)
ParallelCompactData
&
sd
=
PSParallelCompact
::
summary_data
();
size_t
dci
=
c
->
destination
()
?
sd
.
addr_to_chunk_idx
(
c
->
destination
())
:
0
;
...
...
@@ -269,9 +269,9 @@ print_initial_summary_chunk(size_t i,
const
ParallelCompactData
::
ChunkData
*
c
,
bool
newline
=
true
)
{
tty
->
print
(
SIZE_FORMAT_W
(
"5"
)
" "
PTR_FORMAT
" "
SIZE_FORMAT_W
(
"5"
)
" "
SIZE_FORMAT_W
(
"5"
)
" "
SIZE_FORMAT_W
(
"5"
)
" "
SIZE_FORMAT_W
(
"5"
)
" %d"
,
tty
->
print
(
SIZE_FORMAT_W
(
5
)
" "
PTR_FORMAT
" "
SIZE_FORMAT_W
(
5
)
" "
SIZE_FORMAT_W
(
5
)
" "
SIZE_FORMAT_W
(
5
)
" "
SIZE_FORMAT_W
(
5
)
" %d"
,
i
,
c
->
destination
(),
c
->
partial_obj_size
(),
c
->
live_obj_size
(),
c
->
data_size
(),
c
->
source_chunk
(),
c
->
destination_count
());
...
...
@@ -326,7 +326,7 @@ print_initial_summary_data(ParallelCompactData& summary_data,
}
print_initial_summary_chunk
(
i
,
c
,
false
);
tty
->
print_cr
(
" %12.10f "
SIZE_FORMAT_W
(
"10"
)
" "
SIZE_FORMAT_W
(
"10"
),
tty
->
print_cr
(
" %12.10f "
SIZE_FORMAT_W
(
10
)
" "
SIZE_FORMAT_W
(
10
),
reclaimed_ratio
,
dead_to_right
,
live_to_right
);
live_to_right
-=
c
->
data_size
();
...
...
@@ -338,8 +338,8 @@ print_initial_summary_data(ParallelCompactData& summary_data,
print_initial_summary_chunk
(
i
,
summary_data
.
chunk
(
i
));
}
tty
->
print_cr
(
"max: "
SIZE_FORMAT_W
(
"4"
)
" d2r="
SIZE_FORMAT_W
(
"10"
)
" "
"l2r="
SIZE_FORMAT_W
(
"10"
)
" max_ratio=%14.12f"
,
tty
->
print_cr
(
"max: "
SIZE_FORMAT_W
(
4
)
" d2r="
SIZE_FORMAT_W
(
10
)
" "
"l2r="
SIZE_FORMAT_W
(
10
)
" max_ratio=%14.12f"
,
max_reclaimed_ratio_chunk
,
max_dead_to_right
,
max_live_to_right
,
max_reclaimed_ratio
);
}
...
...
@@ -1121,8 +1121,8 @@ PSParallelCompact::compute_dense_prefix_via_density(const SpaceId id,
HeapWord
*
chunk_destination
=
cp
->
destination
();
const
size_t
cur_deadwood
=
pointer_delta
(
dense_prefix
,
chunk_destination
);
if
(
TraceParallelOldGCDensePrefix
&&
Verbose
)
{
tty
->
print_cr
(
"c#="
SIZE_FORMAT_W
(
"04"
)
" dst="
PTR_FORMAT
" "
"dp="
SIZE_FORMAT_W
(
"08"
)
" "
"cdw="
SIZE_FORMAT_W
(
"08"
),
tty
->
print_cr
(
"c#="
SIZE_FORMAT_W
(
4
)
" dst="
PTR_FORMAT
" "
"dp="
SIZE_FORMAT_W
(
8
)
" "
"cdw="
SIZE_FORMAT_W
(
8
),
sd
.
chunk
(
cp
),
chunk_destination
,
dense_prefix
,
cur_deadwood
);
}
...
...
@@ -1147,7 +1147,7 @@ PSParallelCompact::compute_dense_prefix_via_density(const SpaceId id,
return
dense_prefix
;
}
if
(
TraceParallelOldGCDensePrefix
&&
Verbose
)
{
tty
->
print_cr
(
"backing up from c="
SIZE_FORMAT_W
(
"4"
)
" d2r=%10.8f "
tty
->
print_cr
(
"backing up from c="
SIZE_FORMAT_W
(
4
)
" d2r=%10.8f "
"pc_d2r=%10.8f"
,
sd
.
chunk
(
cp
),
density_to_right
,
prev_chunk_density_to_right
);
}
...
...
@@ -1184,7 +1184,7 @@ void PSParallelCompact::print_dense_prefix_stats(const char* const algorithm,
const
size_t
live_to_right
=
new_top
-
cp
->
destination
();
const
size_t
dead_to_right
=
space
->
top
()
-
addr
-
live_to_right
;
tty
->
print_cr
(
"%s="
PTR_FORMAT
" dpc="
SIZE_FORMAT_W
(
"05"
)
" "
tty
->
print_cr
(
"%s="
PTR_FORMAT
" dpc="
SIZE_FORMAT_W
(
5
)
" "
"spl="
SIZE_FORMAT
" "
"d2l="
SIZE_FORMAT
" d2l%%=%6.4f "
"d2r="
SIZE_FORMAT
" l2r="
SIZE_FORMAT
...
...
@@ -2513,7 +2513,7 @@ void PSParallelCompact::enqueue_chunk_draining_tasks(GCTaskQueue* q,
if
(
TraceParallelOldGCCompactionPhase
&&
Verbose
)
{
const
size_t
count_mod_8
=
fillable_chunks
&
7
;
if
(
count_mod_8
==
0
)
gclog_or_tty
->
print
(
"fillable: "
);
gclog_or_tty
->
print
(
" "
SIZE_FORMAT_W
(
"7"
),
cur
);
gclog_or_tty
->
print
(
" "
SIZE_FORMAT_W
(
7
),
cur
);
if
(
count_mod_8
==
7
)
gclog_or_tty
->
cr
();
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录