equal
deleted
inserted
replaced
347 print_thread_work_items(phase_id, phase->_thread_work_items); |
347 print_thread_work_items(phase_id, phase->_thread_work_items); |
348 } |
348 } |
349 } |
349 } |
350 }; |
350 }; |
351 |
351 |
352 void G1GCPhaseTimes::print(double pause_time_sec) { |
352 void G1GCPhaseTimes::print(double pause_time_ms) { |
353 note_gc_end(); |
353 note_gc_end(); |
354 |
354 |
355 G1GCParPhasePrinter par_phase_printer(this); |
355 G1GCParPhasePrinter par_phase_printer(this); |
356 |
356 |
357 if (_root_region_scan_wait_time_ms > 0.0) { |
357 if (_root_region_scan_wait_time_ms > 0.0) { |
371 par_phase_printer.print((GCParPhases) i); |
371 par_phase_printer.print((GCParPhases) i); |
372 } |
372 } |
373 } |
373 } |
374 print_stats(Indents[1], "Clear CT", _cur_clear_ct_time_ms); |
374 print_stats(Indents[1], "Clear CT", _cur_clear_ct_time_ms); |
375 print_stats(Indents[1], "Expand Heap After Collection", _cur_expand_heap_time_ms); |
375 print_stats(Indents[1], "Expand Heap After Collection", _cur_expand_heap_time_ms); |
376 double misc_time_ms = pause_time_sec * MILLIUNITS - accounted_time_ms(); |
376 double misc_time_ms = pause_time_ms - accounted_time_ms(); |
377 print_stats(Indents[1], "Other", misc_time_ms); |
377 print_stats(Indents[1], "Other", misc_time_ms); |
378 if (_cur_verify_before_time_ms > 0.0) { |
378 if (_cur_verify_before_time_ms > 0.0) { |
379 print_stats(Indents[2], "Verify Before", _cur_verify_before_time_ms); |
379 print_stats(Indents[2], "Verify Before", _cur_verify_before_time_ms); |
380 } |
380 } |
381 if (G1CollectedHeap::heap()->evacuation_failed()) { |
381 if (G1CollectedHeap::heap()->evacuation_failed()) { |