7172279: G1: Clean up TraceGen0Time and TraceGen1Time data gathering

Simplify code, remove unused code, remove ExitAfterGCNum

Reviewed-by: huntch, johnc
This commit is contained in:
Bengt Rutisson 2012-05-31 21:10:33 +02:00
parent 057a1b7128
commit 212ab5c73a
7 changed files with 193 additions and 368 deletions

View file

@ -677,11 +677,6 @@ void GenCollectedHeap::do_collection(bool full,
#ifdef TRACESPINNING
ParallelTaskTerminator::print_termination_counts();
#endif
if (ExitAfterGCNum > 0 && total_collections() == ExitAfterGCNum) {
tty->print_cr("Stopping after GC #%d", ExitAfterGCNum);
vm_exit(-1);
}
}
HeapWord* GenCollectedHeap::satisfy_failed_allocation(size_t size, bool is_tlab) {