hotspot/src/share/vm/runtime/thread.cpp
changeset 23542 e860dc279345
parent 23540 06f7d6e1f654
parent 23491 f690330b10b9
child 23855 c4574075402c
equal deleted inserted replaced
23541:3cc6bbf28016 23542:e860dc279345
   105 #endif
   105 #endif
   106 #ifdef COMPILER2
   106 #ifdef COMPILER2
   107 #include "opto/c2compiler.hpp"
   107 #include "opto/c2compiler.hpp"
   108 #include "opto/idealGraphPrinter.hpp"
   108 #include "opto/idealGraphPrinter.hpp"
   109 #endif
   109 #endif
       
   110 #if INCLUDE_RTM_OPT
       
   111 #include "runtime/rtmLocking.hpp"
       
   112 #endif
   110 
   113 
   111 #ifdef DTRACE_ENABLED
   114 #ifdef DTRACE_ENABLED
   112 
   115 
   113 // Only bother with this argument setup if dtrace is available
   116 // Only bother with this argument setup if dtrace is available
   114 
   117 
  3619   StatSampler::engage();
  3622   StatSampler::engage();
  3620   if (CheckJNICalls)                  JniPeriodicChecker::engage();
  3623   if (CheckJNICalls)                  JniPeriodicChecker::engage();
  3621 
  3624 
  3622   BiasedLocking::init();
  3625   BiasedLocking::init();
  3623 
  3626 
       
  3627 #if INCLUDE_RTM_OPT
       
  3628   RTMLockingCounters::init();
       
  3629 #endif
       
  3630 
  3624   if (JDK_Version::current().post_vm_init_hook_enabled()) {
  3631   if (JDK_Version::current().post_vm_init_hook_enabled()) {
  3625     call_postVMInitHook(THREAD);
  3632     call_postVMInitHook(THREAD);
  3626     // The Java side of PostVMInitHook.run must deal with all
  3633     // The Java side of PostVMInitHook.run must deal with all
  3627     // exceptions and provide means of diagnosis.
  3634     // exceptions and provide means of diagnosis.
  3628     if (HAS_PENDING_EXCEPTION) {
  3635     if (HAS_PENDING_EXCEPTION) {