diff src/share/vm/opto/doCall.cpp @ 3784:aabf25fa3f05

7057587: JSR 292 - crash with jruby in test/test_respond_to.rb Summary: don't skip receiver when GC'ing compiled invokedynamic callsites Reviewed-by: twisti, kvn, jrose
author never
date Wed, 22 Jun 2011 14:45:37 -0700
parents f918d6096e23
children fdb992d83a87
line wrap: on
line diff
--- a/src/share/vm/opto/doCall.cpp	Tue Jun 21 09:04:55 2011 -0700
+++ b/src/share/vm/opto/doCall.cpp	Wed Jun 22 14:45:37 2011 -0700
@@ -183,7 +183,7 @@
         // TO DO:  When UseOldInlining is removed, copy the ILT code elsewhere.
         float site_invoke_ratio = prof_factor;
         // Note:  ilt is for the root of this parse, not the present call site.
-        ilt = new InlineTree(this, jvms->method(), jvms->caller(), site_invoke_ratio, 0);
+        ilt = new InlineTree(this, jvms->method(), jvms->caller(), site_invoke_ratio, MaxInlineLevel);
       }
       WarmCallInfo scratch_ci;
       if (!UseOldInlining)