< prev index next >

src/share/vm/gc/g1/g1CollectedHeap.cpp

Print this page

        

*** 3167,3183 **** 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(); } --- 3167,3182 ---- task_queue(i)->stats.reset(); } } #endif // TASKQUEUE_STATS ! void G1CollectedHeap::log_gc_footer() { if (evacuation_failed()) { log_info(gc)("To-space exhausted"); } ! g1_policy()->print_phases(); g1_policy()->print_detailed_heap_transition(); }
*** 3265,3275 **** } else { gc_string.append("Mixed"); } GCTraceTime(Info, gc) tm(gc_string, NULL, gc_cause(), true); - 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()); --- 3264,3273 ----
*** 3527,3537 **** gc_epilogue(false); } // Print the remainder of the GC log output. ! log_gc_footer(os::elapsed_counter() - pause_start_counter); // It is not yet to safe to tell the concurrent mark to // start as we have some optional output below. We don't want the // output from the concurrent mark thread interfering with this // logging output either. --- 3525,3535 ---- gc_epilogue(false); } // Print the remainder of the GC log output. ! log_gc_footer(); // It is not yet to safe to tell the concurrent mark to // start as we have some optional output below. We don't want the // output from the concurrent mark thread interfering with this // logging output either.
< prev index next >