Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/doCall.cpp @ 1157:c3b315a0d58a
6912063: inlining parameters need to be adjusted for some uses of the JVM
Summary: Put all inline-related switches into product mode, to allow tuning by dynamic language implementors.
Reviewed-by: twisti, kvn
author | jrose |
---|---|
date | Fri, 08 Jan 2010 13:58:49 -0800 |
parents | dd57230ba8fe |
children | 87684f1a88b5 |
line wrap: on
line diff
--- a/src/share/vm/opto/doCall.cpp Fri Jan 08 13:47:01 2010 -0800 +++ b/src/share/vm/opto/doCall.cpp Fri Jan 08 13:58:49 2010 -0800 @@ -43,7 +43,9 @@ } #endif -CallGenerator* Compile::call_generator(ciMethod* call_method, int vtable_index, bool call_is_virtual, JVMState* jvms, bool allow_inline, float prof_factor) { +CallGenerator* Compile::call_generator(ciMethod* call_method, int vtable_index, bool call_is_virtual, + JVMState* jvms, bool allow_inline, + float prof_factor) { CallGenerator* cg; // Dtrace currently doesn't work unless all calls are vanilla @@ -116,7 +118,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); + ilt = new InlineTree(this, jvms->method(), jvms->caller(), site_invoke_ratio, 0); } WarmCallInfo scratch_ci; if (!UseOldInlining)