< prev index next >
src/share/vm/gc/g1/g1CollectedHeap.cpp
Print this page
*** 3614,3630 ****
task_queue(i)->stats.reset();
}
}
#endif // TASKQUEUE_STATS
! void G1CollectedHeap::log_gc_footer(double pause_time_counter) {
if (evacuation_failed()) {
log_info(gc)("To-space exhausted");
}
! double pause_time_sec = TimeHelper::counter_to_seconds(pause_time_counter);
! g1_policy()->print_phases(pause_time_sec);
g1_policy()->print_detailed_heap_transition();
}
--- 3614,3630 ----
task_queue(i)->stats.reset();
}
}
#endif // TASKQUEUE_STATS
! void G1CollectedHeap::log_gc_footer(jlong pause_time_counter) {
if (evacuation_failed()) {
log_info(gc)("To-space exhausted");
}
! double pause_time_ms = TimeHelper::counter_to_millis(pause_time_counter);
! g1_policy()->print_phases(pause_time_ms);
g1_policy()->print_detailed_heap_transition();
}
*** 3713,3723 ****
gc_string.append("Mixed");
}
GCTraceTime(Info, gc) tm(gc_string, NULL, gc_cause(), true);
double pause_start_sec = os::elapsedTime();
! double pause_start_counter = os::elapsed_counter();
g1_policy()->note_gc_start(active_workers);
TraceCollectorStats tcs(g1mm()->incremental_collection_counters());
TraceMemoryManagerStats tms(false /* fullGC */, gc_cause());
--- 3713,3723 ----
gc_string.append("Mixed");
}
GCTraceTime(Info, gc) tm(gc_string, NULL, gc_cause(), true);
double pause_start_sec = os::elapsedTime();
! jlong pause_start_counter = os::elapsed_counter();
g1_policy()->note_gc_start(active_workers);
TraceCollectorStats tcs(g1mm()->incremental_collection_counters());
TraceMemoryManagerStats tms(false /* fullGC */, gc_cause());
< prev index next >