< prev index next >
src/share/vm/gc/parallel/psParallelCompact.cpp
Print this page
rev 13541 : 8184286: print_tracing_info() does not use Unified Logging for output
Reviewed-by:
*** 1777,1787 ****
heap->pre_full_gc_dump(&_gc_timer);
TraceCollectorStats tcs(counters());
TraceMemoryManagerStats tms(true /* Full GC */,gc_cause);
! if (TraceOldGenTime) accumulated_time()->start();
// Let the size policy know we're starting
size_policy->major_collection_begin();
CodeCache::gc_prologue();
--- 1777,1787 ----
heap->pre_full_gc_dump(&_gc_timer);
TraceCollectorStats tcs(counters());
TraceMemoryManagerStats tms(true /* Full GC */,gc_cause);
! if (log_is_enabled(Debug, gc, heap, exit)) accumulated_time()->start();
// Let the size policy know we're starting
size_policy->major_collection_begin();
CodeCache::gc_prologue();
*** 1896,1906 ****
heap->resize_all_tlabs();
// Resize the metaspace capacity after a collection
MetaspaceGC::compute_new_size();
! if (TraceOldGenTime) {
accumulated_time()->stop();
}
young_gen->print_used_change(pre_gc_values.young_gen_used());
old_gen->print_used_change(pre_gc_values.old_gen_used());
--- 1896,1906 ----
heap->resize_all_tlabs();
// Resize the metaspace capacity after a collection
MetaspaceGC::compute_new_size();
! if (log_is_enabled(Debug, gc, heap, exit)) {
accumulated_time()->stop();
}
young_gen->print_used_change(pre_gc_values.young_gen_used());
old_gen->print_used_change(pre_gc_values.old_gen_used());
< prev index next >