8191564: Refactor GC related servicability code into GC specific subclasses

Reviewed-by: ehelin, eosterlund
This commit is contained in:
Roman Kennke 2017-11-30 13:40:07 +01:00
parent d6aded9c68
commit 3f3f0cb67e
35 changed files with 678 additions and 817 deletions

View file

@ -1772,7 +1772,7 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
heap->pre_full_gc_dump(&_gc_timer);
TraceCollectorStats tcs(counters());
TraceMemoryManagerStats tms(true /* Full GC */,gc_cause);
TraceMemoryManagerStats tms(heap->old_gc_manager(), gc_cause);
if (log_is_enabled(Debug, gc, heap, exit)) {
accumulated_time()->start();