diff src/share/vm/ci/ciMethodHandle.cpp @ 3366:e2a92dd0d3d2

7042122: JSR 292: adjust various inline thresholds for JSR 292 API methods and method handle adapters Reviewed-by: jrose, never, kvn
author twisti
date Tue, 10 May 2011 00:45:03 -0700
parents 4124a5a27707
children fabcf26ee72f
line wrap: on
line diff
--- a/src/share/vm/ci/ciMethodHandle.cpp	Mon May 09 19:45:52 2011 -0700
+++ b/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) {