hotspot/src/share/vm/runtime/thread.cpp
changeset 23491 f690330b10b9
parent 23193 32ed95bda2f0
child 23542 e860dc279345
--- a/hotspot/src/share/vm/runtime/thread.cpp	Wed Mar 19 11:37:58 2014 -0700
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Thu Mar 20 17:49:27 2014 -0700
@@ -107,6 +107,9 @@
 #include "opto/c2compiler.hpp"
 #include "opto/idealGraphPrinter.hpp"
 #endif
+#if INCLUDE_RTM_OPT
+#include "runtime/rtmLocking.hpp"
+#endif
 
 #ifdef DTRACE_ENABLED
 
@@ -3622,6 +3625,10 @@
 
   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