Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parNew/parNewGeneration.cpp @ 1712:2d6b74c9a797
6976378: ParNew: stats are printed unconditionally in debug builds
Reviewed-by: tonyp
author | jcoomes |
---|---|
date | Wed, 11 Aug 2010 13:12:28 -0700 |
parents | 94251661de76 |
children | 8b10f48633dc |
comparison
equal
deleted
inserted
replaced
1711:a6bff45449bc | 1712:2d6b74c9a797 |
---|---|
968 | 968 |
969 if (PrintGC && !PrintGCDetails) { | 969 if (PrintGC && !PrintGCDetails) { |
970 gch->print_heap_change(gch_prev_used); | 970 gch->print_heap_change(gch_prev_used); |
971 } | 971 } |
972 | 972 |
973 TASKQUEUE_STATS_ONLY(thread_state_set.print_termination_stats()); | 973 if (PrintGCDetails && ParallelGCVerbose) { |
974 TASKQUEUE_STATS_ONLY(thread_state_set.print_taskqueue_stats()); | 974 TASKQUEUE_STATS_ONLY(thread_state_set.print_termination_stats()); |
975 TASKQUEUE_STATS_ONLY(thread_state_set.print_taskqueue_stats()); | |
976 } | |
975 | 977 |
976 if (UseAdaptiveSizePolicy) { | 978 if (UseAdaptiveSizePolicy) { |
977 size_policy->minor_collection_end(gch->gc_cause()); | 979 size_policy->minor_collection_end(gch->gc_cause()); |
978 size_policy->avg_survived()->sample(from()->used()); | 980 size_policy->avg_survived()->sample(from()->used()); |
979 } | 981 } |