hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.cpp
changeset 35163 448e610805bb
parent 35061 be6025ebffea
child 35887 169f3d39af5b
equal deleted inserted replaced
35162:65d0237246b1 35163:448e610805bb
   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()) {