comparison src/share/vm/memory/genCollectedHeap.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 9d679effd28c
children da91efe96a93
comparison
equal deleted inserted replaced
6108:c52a6a39546c 6109:bbc900c2482a
675 print_heap_after_gc(); 675 print_heap_after_gc();
676 676
677 #ifdef TRACESPINNING 677 #ifdef TRACESPINNING
678 ParallelTaskTerminator::print_termination_counts(); 678 ParallelTaskTerminator::print_termination_counts();
679 #endif 679 #endif
680
681 if (ExitAfterGCNum > 0 && total_collections() == ExitAfterGCNum) {
682 tty->print_cr("Stopping after GC #%d", ExitAfterGCNum);
683 vm_exit(-1);
684 }
685 } 680 }
686 681
687 HeapWord* GenCollectedHeap::satisfy_failed_allocation(size_t size, bool is_tlab) { 682 HeapWord* GenCollectedHeap::satisfy_failed_allocation(size_t size, bool is_tlab) {
688 return collector_policy()->satisfy_failed_allocation(size, is_tlab); 683 return collector_policy()->satisfy_failed_allocation(size, is_tlab);
689 } 684 }