hotspot/src/share/vm/opto/doCall.cpp
changeset 10007 43d4a6542551
parent 9975 82190b49ce14
child 10265 4c869854aebd
--- a/hotspot/src/share/vm/opto/doCall.cpp	Tue Jun 21 09:04:55 2011 -0700
+++ b/hotspot/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)