提交 431e8d24 编写于 作者: J jcoomes

6976378: ParNew: stats are printed unconditionally in debug builds

Reviewed-by: tonyp
上级 83a3a6f0
......@@ -970,8 +970,10 @@ void ParNewGeneration::collect(bool full,
gch->print_heap_change(gch_prev_used);
}
TASKQUEUE_STATS_ONLY(thread_state_set.print_termination_stats());
TASKQUEUE_STATS_ONLY(thread_state_set.print_taskqueue_stats());
if (PrintGCDetails && ParallelGCVerbose) {
TASKQUEUE_STATS_ONLY(thread_state_set.print_termination_stats());
TASKQUEUE_STATS_ONLY(thread_state_set.print_taskqueue_stats());
}
if (UseAdaptiveSizePolicy) {
size_policy->minor_collection_end(gch->gc_cause());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册