< prev index next >

src/share/vm/runtime/safepoint.cpp

Print this page

        

*** 892,902 **** case _call_back: break; case _running: default: ! tty->print_cr("restart thread "INTPTR_FORMAT" with state %d", _thread, _type); _thread->print(); ShouldNotReachHere(); } _type = _running; --- 892,902 ---- case _call_back: break; case _running: default: ! tty->print_cr("restart thread " INTPTR_FORMAT " with state %d", _thread, _type); _thread->print(); ShouldNotReachHere(); } _type = _running;
*** 1191,1222 **** print_header(); } sstats = &_safepoint_stats[index]; tty->print("%.3f: ", sstats->_time_stamp); tty->print("%-26s [" ! INT32_FORMAT_W(8)INT32_FORMAT_W(11)INT32_FORMAT_W(15) " ] ", sstats->_vmop_type == -1 ? "no vm operation" : VM_Operation::name(sstats->_vmop_type), sstats->_nof_total_threads, sstats->_nof_initial_running_threads, sstats->_nof_threads_wait_to_block); // "/ MICROUNITS " is to convert the unit from nanos to millis. tty->print(" [" ! INT64_FORMAT_W(6)INT64_FORMAT_W(6) ! INT64_FORMAT_W(6)INT64_FORMAT_W(6) ! INT64_FORMAT_W(6)" ] ", sstats->_time_to_spin / MICROUNITS, sstats->_time_to_wait_to_block / MICROUNITS, sstats->_time_to_sync / MICROUNITS, sstats->_time_to_do_cleanups / MICROUNITS, sstats->_time_to_exec_vmop / MICROUNITS); if (need_to_track_page_armed_status) { ! tty->print(INT32_FORMAT" ", sstats->_page_armed); } ! tty->print_cr(INT32_FORMAT" ", sstats->_nof_threads_hit_page_trap); } } // This method will be called when VM exits. It will first call // print_statistics to print out the rest of the sampling. Then --- 1191,1222 ---- print_header(); } sstats = &_safepoint_stats[index]; tty->print("%.3f: ", sstats->_time_stamp); tty->print("%-26s [" ! INT32_FORMAT_W(8) INT32_FORMAT_W(11) INT32_FORMAT_W(15) " ] ", sstats->_vmop_type == -1 ? "no vm operation" : VM_Operation::name(sstats->_vmop_type), sstats->_nof_total_threads, sstats->_nof_initial_running_threads, sstats->_nof_threads_wait_to_block); // "/ MICROUNITS " is to convert the unit from nanos to millis. tty->print(" [" ! INT64_FORMAT_W(6) INT64_FORMAT_W(6) ! INT64_FORMAT_W(6) INT64_FORMAT_W(6) ! INT64_FORMAT_W(6) " ] ", sstats->_time_to_spin / MICROUNITS, sstats->_time_to_wait_to_block / MICROUNITS, sstats->_time_to_sync / MICROUNITS, sstats->_time_to_do_cleanups / MICROUNITS, sstats->_time_to_exec_vmop / MICROUNITS); if (need_to_track_page_armed_status) { ! tty->print(INT32_FORMAT " ", sstats->_page_armed); } ! tty->print_cr(INT32_FORMAT " ", sstats->_nof_threads_hit_page_trap); } } // This method will be called when VM exits. It will first call // print_statistics to print out the rest of the sampling. Then
*** 1247,1267 **** DeferPollingPageLoopCount); } for (int index = 0; index < VM_Operation::VMOp_Terminating; index++) { if (_safepoint_reasons[index] != 0) { ! tty->print_cr("%-26s"UINT64_FORMAT_W(10), VM_Operation::name(index), _safepoint_reasons[index]); } } ! tty->print_cr(UINT64_FORMAT_W(5)" VM operations coalesced during safepoint", _coalesced_vmop_count); ! tty->print_cr("Maximum sync time "INT64_FORMAT_W(5)" ms", _max_sync_time / MICROUNITS); tty->print_cr("Maximum vm operation time (except for Exit VM operation) " ! INT64_FORMAT_W(5)" ms", _max_vmop_time / MICROUNITS); } // ------------------------------------------------------------------------------------------------ // Non-product code --- 1247,1267 ---- DeferPollingPageLoopCount); } for (int index = 0; index < VM_Operation::VMOp_Terminating; index++) { if (_safepoint_reasons[index] != 0) { ! tty->print_cr("%-26s" UINT64_FORMAT_W(10), VM_Operation::name(index), _safepoint_reasons[index]); } } ! tty->print_cr(UINT64_FORMAT_W(5) " VM operations coalesced during safepoint", _coalesced_vmop_count); ! tty->print_cr("Maximum sync time " INT64_FORMAT_W(5) " ms", _max_sync_time / MICROUNITS); tty->print_cr("Maximum vm operation time (except for Exit VM operation) " ! INT64_FORMAT_W(5) " ms", _max_vmop_time / MICROUNITS); } // ------------------------------------------------------------------------------------------------ // Non-product code
< prev index next >