hotspot/src/share/vm/ci/ciMethodHandle.cpp
changeset 9633 92a7a2841a16
parent 9118 a4c6e4429693
child 9638 a9e79f5cd83b
--- a/hotspot/src/share/vm/ci/ciMethodHandle.cpp	Mon May 09 19:45:52 2011 -0700
+++ b/hotspot/src/share/vm/ci/ciMethodHandle.cpp	Tue May 10 00:45:03 2011 -0700
@@ -42,7 +42,7 @@
   methodHandle callee(_callee->get_methodOop());
   // We catch all exceptions here that could happen in the method
   // handle compiler and stop the VM.
-  MethodHandleCompiler mhc(h, callee, is_invokedynamic, THREAD);
+  MethodHandleCompiler mhc(h, callee, call_profile()->count(), is_invokedynamic, THREAD);
   if (!HAS_PENDING_EXCEPTION) {
     methodHandle m = mhc.compile(THREAD);
     if (!HAS_PENDING_EXCEPTION) {