equal
deleted
inserted
replaced
110 #endif |
110 #endif |
111 #if INCLUDE_RTM_OPT |
111 #if INCLUDE_RTM_OPT |
112 #include "runtime/rtmLocking.hpp" |
112 #include "runtime/rtmLocking.hpp" |
113 #endif |
113 #endif |
114 |
114 |
|
115 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC |
|
116 |
115 #ifdef DTRACE_ENABLED |
117 #ifdef DTRACE_ENABLED |
116 |
118 |
117 // Only bother with this argument setup if dtrace is available |
119 // Only bother with this argument setup if dtrace is available |
118 |
120 |
119 #define HOTSPOT_THREAD_PROBE_start HOTSPOT_THREAD_START |
121 #define HOTSPOT_THREAD_PROBE_start HOTSPOT_THREAD_START |
4271 } |
4273 } |
4272 |
4274 |
4273 // Threads::print_on() is called at safepoint by VM_PrintThreads operation. |
4275 // Threads::print_on() is called at safepoint by VM_PrintThreads operation. |
4274 void Threads::print_on(outputStream* st, bool print_stacks, bool internal_format, bool print_concurrent_locks) { |
4276 void Threads::print_on(outputStream* st, bool print_stacks, bool internal_format, bool print_concurrent_locks) { |
4275 char buf[32]; |
4277 char buf[32]; |
4276 st->print_cr(os::local_time_string(buf, sizeof(buf))); |
4278 st->print_cr("%s", os::local_time_string(buf, sizeof(buf))); |
4277 |
4279 |
4278 st->print_cr("Full thread dump %s (%s %s):", |
4280 st->print_cr("Full thread dump %s (%s %s):", |
4279 Abstract_VM_Version::vm_name(), |
4281 Abstract_VM_Version::vm_name(), |
4280 Abstract_VM_Version::vm_release(), |
4282 Abstract_VM_Version::vm_release(), |
4281 Abstract_VM_Version::vm_info_string() |
4283 Abstract_VM_Version::vm_info_string() |