comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 6109:bbc900c2482a

7172279: G1: Clean up TraceGen0Time and TraceGen1Time data gathering Summary: Simplify code, remove unused code, remove ExitAfterGCNum Reviewed-by: huntch, johnc
author brutisso
date Thu, 31 May 2012 21:10:33 +0200
parents 1d478c993020
children 37552638d24a
comparison
equal deleted inserted replaced
6108:c52a6a39546c 6109:bbc900c2482a
3928 ParallelTaskTerminator::print_termination_counts(); 3928 ParallelTaskTerminator::print_termination_counts();
3929 #endif 3929 #endif
3930 3930
3931 gc_epilogue(false); 3931 gc_epilogue(false);
3932 } 3932 }
3933
3934 if (ExitAfterGCNum > 0 && total_collections() == ExitAfterGCNum) {
3935 gclog_or_tty->print_cr("Stopping after GC #%d", ExitAfterGCNum);
3936 print_tracing_info();
3937 vm_exit(-1);
3938 }
3939 } 3933 }
3940 3934
3941 // The closing of the inner scope, immediately above, will complete 3935 // The closing of the inner scope, immediately above, will complete
3942 // logging at the "fine" level. The record_collection_pause_end() call 3936 // logging at the "fine" level. The record_collection_pause_end() call
3943 // above will complete logging at the "finer" level. 3937 // above will complete logging at the "finer" level.