src/share/vm/runtime/thread.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/thread.cpp	Mon Mar 24 16:32:09 2014
--- new/src/share/vm/runtime/thread.cpp	Mon Mar 24 16:32:09 2014

*** 105,114 **** --- 105,117 ---- #endif #ifdef COMPILER2 #include "opto/c2compiler.hpp" #include "opto/idealGraphPrinter.hpp" #endif + #if INCLUDE_RTM_OPT + #include "runtime/rtmLocking.hpp" + #endif #ifdef DTRACE_ENABLED // Only bother with this argument setup if dtrace is available
*** 3668,3677 **** --- 3671,3684 ---- StatSampler::engage(); if (CheckJNICalls) JniPeriodicChecker::engage(); BiasedLocking::init(); + #if INCLUDE_RTM_OPT + RTMLockingCounters::init(); + #endif + if (JDK_Version::current().post_vm_init_hook_enabled()) { call_postVMInitHook(THREAD); // The Java side of PostVMInitHook.run must deal with all // exceptions and provide means of diagnosis. if (HAS_PENDING_EXCEPTION) {

src/share/vm/runtime/thread.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File