Skip to content

Commit 2985cf6

Browse files
author
duke
committed
Backport 61d9ab9717783e5bb0faa555f794499d0e5b3fdb
1 parent 2bf1ce4 commit 2985cf6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/hotspot/share/runtime/safepoint.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,13 +993,16 @@ void SafepointTracing::end() {
993993
"Reaching safepoint: " JLONG_FORMAT " ns, "
994994
"At safepoint: " JLONG_FORMAT " ns, "
995995
"Leaving safepoint: " JLONG_FORMAT " ns, "
996-
"Total: " JLONG_FORMAT " ns",
996+
"Total: " JLONG_FORMAT " ns, "
997+
"Threads: %d runnable, %d total",
997998
VM_Operation::name(_current_type),
998999
_last_app_time_ns,
9991000
_last_safepoint_sync_time_ns - _last_safepoint_begin_time_ns,
10001001
_last_safepoint_leave_time_ns - _last_safepoint_sync_time_ns,
10011002
_last_safepoint_end_time_ns - _last_safepoint_leave_time_ns,
1002-
_last_safepoint_end_time_ns - _last_safepoint_begin_time_ns
1003+
_last_safepoint_end_time_ns - _last_safepoint_begin_time_ns,
1004+
_nof_running,
1005+
_nof_threads
10031006
);
10041007

10051008
RuntimeService::record_safepoint_end(_last_safepoint_end_time_ns - _last_safepoint_sync_time_ns);

0 commit comments

Comments
 (0)