hotspot/src/share/vm/runtime/thread.cpp
changeset 23491 f690330b10b9
parent 23193 32ed95bda2f0
child 23542 e860dc279345
equal deleted inserted replaced
23490:54fc219734a0 23491:f690330b10b9
   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 
  3620   StatSampler::engage();
  3623   StatSampler::engage();
  3621   if (CheckJNICalls)                  JniPeriodicChecker::engage();
  3624   if (CheckJNICalls)                  JniPeriodicChecker::engage();
  3622 
  3625 
  3623   BiasedLocking::init();
  3626   BiasedLocking::init();
  3624 
  3627 
       
  3628 #if INCLUDE_RTM_OPT
       
  3629   RTMLockingCounters::init();
       
  3630 #endif
       
  3631 
  3625   if (JDK_Version::current().post_vm_init_hook_enabled()) {
  3632   if (JDK_Version::current().post_vm_init_hook_enabled()) {
  3626     call_postVMInitHook(THREAD);
  3633     call_postVMInitHook(THREAD);
  3627     // The Java side of PostVMInitHook.run must deal with all
  3634     // The Java side of PostVMInitHook.run must deal with all
  3628     // exceptions and provide means of diagnosis.
  3635     // exceptions and provide means of diagnosis.
  3629     if (HAS_PENDING_EXCEPTION) {
  3636     if (HAS_PENDING_EXCEPTION) {