src/share/vm/opto/doCall.cpp

changeset 2981
aabf25fa3f05
parent 2949
f918d6096e23
child 3050
fdb992d83a87
equal deleted inserted replaced
2980:de6a837d75cf 2981:aabf25fa3f05
181 } else { 181 } else {
182 // Make a disembodied, stateless ILT. 182 // Make a disembodied, stateless ILT.
183 // TO DO: When UseOldInlining is removed, copy the ILT code elsewhere. 183 // TO DO: When UseOldInlining is removed, copy the ILT code elsewhere.
184 float site_invoke_ratio = prof_factor; 184 float site_invoke_ratio = prof_factor;
185 // Note: ilt is for the root of this parse, not the present call site. 185 // Note: ilt is for the root of this parse, not the present call site.
186 ilt = new InlineTree(this, jvms->method(), jvms->caller(), site_invoke_ratio, 0); 186 ilt = new InlineTree(this, jvms->method(), jvms->caller(), site_invoke_ratio, MaxInlineLevel);
187 } 187 }
188 WarmCallInfo scratch_ci; 188 WarmCallInfo scratch_ci;
189 if (!UseOldInlining) 189 if (!UseOldInlining)
190 scratch_ci.init(jvms, call_method, profile, prof_factor); 190 scratch_ci.init(jvms, call_method, profile, prof_factor);
191 WarmCallInfo* ci = ilt->ok_to_inline(call_method, jvms, profile, &scratch_ci); 191 WarmCallInfo* ci = ilt->ok_to_inline(call_method, jvms, profile, &scratch_ci);

mercurial