1.1 --- a/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp Tue Aug 10 14:53:35 2010 -0700 1.2 +++ b/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp Wed Aug 11 13:12:28 2010 -0700 1.3 @@ -970,8 +970,10 @@ 1.4 gch->print_heap_change(gch_prev_used); 1.5 } 1.6 1.7 - TASKQUEUE_STATS_ONLY(thread_state_set.print_termination_stats()); 1.8 - TASKQUEUE_STATS_ONLY(thread_state_set.print_taskqueue_stats()); 1.9 + if (PrintGCDetails && ParallelGCVerbose) { 1.10 + TASKQUEUE_STATS_ONLY(thread_state_set.print_termination_stats()); 1.11 + TASKQUEUE_STATS_ONLY(thread_state_set.print_taskqueue_stats()); 1.12 + } 1.13 1.14 if (UseAdaptiveSizePolicy) { 1.15 size_policy->minor_collection_end(gch->gc_cause());