hotspot/src/share/vm/runtime/thread.cpp
changeset 24424 2658d7834c6e
parent 24352 9ba9e99b1ba7
child 24844 d1345c68cea9
child 24831 e4df2f64bb2e
equal deleted inserted replaced
24358:8528b67f6562 24424:2658d7834c6e
   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()