mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
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:
parent
057a1b7128
commit
212ab5c73a
7 changed files with 193 additions and 368 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue