Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/doCall.cpp @ 17672:1419657ed891
8032490: Remove -XX:+-UseOldInlining
Summary: Move the option to obsolete options list, purge the redundant compiler code.
Reviewed-by: kvn, jrose
author | shade |
---|---|
date | Fri, 24 Jan 2014 15:26:56 +0400 |
parents | 55fb97c4c58d |
children | fdad2932c73f |
line wrap: on
line diff
--- a/src/share/vm/opto/doCall.cpp Fri Jan 24 09:31:53 2014 +0100 +++ b/src/share/vm/opto/doCall.cpp Fri Jan 24 15:26:56 2014 +0400 @@ -161,19 +161,8 @@ // Try inlining a bytecoded method: if (!call_does_dispatch) { - InlineTree* ilt; - if (UseOldInlining) { - ilt = InlineTree::find_subtree_from_root(this->ilt(), jvms->caller(), jvms->method()); - } else { - // Make a disembodied, stateless ILT. - // 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, MaxInlineLevel); - } + InlineTree* ilt = InlineTree::find_subtree_from_root(this->ilt(), jvms->caller(), jvms->method()); WarmCallInfo scratch_ci; - if (!UseOldInlining) - scratch_ci.init(jvms, callee, profile, prof_factor); bool should_delay = false; WarmCallInfo* ci = ilt->ok_to_inline(callee, jvms, profile, &scratch_ci, should_delay); assert(ci != &scratch_ci, "do not let this pointer escape");