src/share/vm/services/runtimeService.cpp
Print this page
rev 5878 : [mq]: usdt1-gone
*** 29,43 ****
#include "services/runtimeService.hpp"
#include "utilities/dtrace.hpp"
#include "utilities/exceptions.hpp"
#include "utilities/macros.hpp"
- #ifndef USDT2
- HS_DTRACE_PROBE_DECL(hs_private, safepoint__begin);
- HS_DTRACE_PROBE_DECL(hs_private, safepoint__end);
- #endif /* !USDT2 */
-
#if INCLUDE_MANAGEMENT
TimeStamp RuntimeService::_app_timer;
TimeStamp RuntimeService::_safepoint_timer;
PerfCounter* RuntimeService::_sync_time_ticks = NULL;
PerfCounter* RuntimeService::_total_safepoints = NULL;
--- 29,38 ----
*** 110,124 ****
capabilities, CHECK);
}
}
void RuntimeService::record_safepoint_begin() {
- #ifndef USDT2
- HS_DTRACE_PROBE(hs_private, safepoint__begin);
- #else /* USDT2 */
HS_PRIVATE_SAFEPOINT_BEGIN();
- #endif /* USDT2 */
// Print the time interval in which the app was executing
if (PrintGCApplicationConcurrentTime && _app_timer.is_updated()) {
gclog_or_tty->date_stamp(PrintGCDateStamps);
gclog_or_tty->stamp(PrintGCTimeStamps);
--- 105,115 ----
*** 141,155 ****
_sync_time_ticks->inc(_safepoint_timer.ticks_since_update());
}
}
void RuntimeService::record_safepoint_end() {
- #ifndef USDT2
- HS_DTRACE_PROBE(hs_private, safepoint__end);
- #else /* USDT2 */
HS_PRIVATE_SAFEPOINT_END();
- #endif /* USDT2 */
// Print the time interval for which the app was stopped
// during the current safepoint operation.
if (PrintGCApplicationStoppedTime) {
gclog_or_tty->date_stamp(PrintGCDateStamps);
--- 132,142 ----