--- old/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp 2014-10-03 14:44:51.279684258 -0700 +++ new/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp 2014-10-03 14:44:51.199684260 -0700 @@ -1065,10 +1065,8 @@ gch->print_heap_change(gch_prev_used); } - if (PrintGCDetails && ParallelGCVerbose) { - TASKQUEUE_STATS_ONLY(thread_state_set.print_termination_stats()); - TASKQUEUE_STATS_ONLY(thread_state_set.print_taskqueue_stats()); - } + TASKQUEUE_STATS_ONLY(if (PrintTerminationStats) thread_state_set.print_termination_stats()); + TASKQUEUE_STATS_ONLY(if (PrintTaskqueue) thread_state_set.print_taskqueue_stats()); if (UseAdaptiveSizePolicy) { size_policy->minor_collection_end(gch->gc_cause());