< prev index next >
src/share/vm/runtime/safepoint.cpp
Print this page
*** 361,371 ****
if (SafepointTimeout) {
jlong current_time = os::javaTimeNanos();
if (safepoint_limit_time < current_time) {
tty->print_cr("# SafepointSynchronize: Finished after "
INT64_FORMAT_W(6) " ms",
! ((current_time - safepoint_limit_time) / MICROUNITS +
(jlong)SafepointTimeoutDelay));
}
}
#endif
--- 361,371 ----
if (SafepointTimeout) {
jlong current_time = os::javaTimeNanos();
if (safepoint_limit_time < current_time) {
tty->print_cr("# SafepointSynchronize: Finished after "
INT64_FORMAT_W(6) " ms",
! (int64_t)((current_time - safepoint_limit_time) / MICROUNITS +
(jlong)SafepointTimeoutDelay));
}
}
#endif
*** 1266,1280 ****
// "/ MICROUNITS " is to convert the unit from nanos to millis.
tty->print("[ "
INT64_FORMAT_W(7) " " INT64_FORMAT_W(7) " "
INT64_FORMAT_W(7) " " INT64_FORMAT_W(7) " "
INT64_FORMAT_W(7) " ] ",
! 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_W(10) " ", sstats->_page_armed);
}
tty->print_cr(INT32_FORMAT_W(15) " ", sstats->_nof_threads_hit_page_trap);
--- 1266,1280 ----
// "/ MICROUNITS " is to convert the unit from nanos to millis.
tty->print("[ "
INT64_FORMAT_W(7) " " INT64_FORMAT_W(7) " "
INT64_FORMAT_W(7) " " INT64_FORMAT_W(7) " "
INT64_FORMAT_W(7) " ] ",
! (int64_t)(sstats->_time_to_spin / MICROUNITS),
! (int64_t)(sstats->_time_to_wait_to_block / MICROUNITS),
! (int64_t)(sstats->_time_to_sync / MICROUNITS),
! (int64_t)(sstats->_time_to_do_cleanups / MICROUNITS),
! (int64_t)(sstats->_time_to_exec_vmop / MICROUNITS));
if (need_to_track_page_armed_status) {
tty->print(INT32_FORMAT_W(10) " ", sstats->_page_armed);
}
tty->print_cr(INT32_FORMAT_W(15) " ", sstats->_nof_threads_hit_page_trap);
*** 1318,1331 ****
}
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
--- 1318,1331 ----
}
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",
! (int64_t)(_max_sync_time / MICROUNITS));
tty->print_cr("Maximum vm operation time (except for Exit VM operation) "
INT64_FORMAT_W(5) " ms",
! (int64_t)(_max_vmop_time / MICROUNITS));
}
// ------------------------------------------------------------------------------------------------
// Non-product code
< prev index next >