mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6912063: inlining parameters need to be adjusted for some uses of the JVM
Put all inline-related switches into product mode, to allow tuning by dynamic language implementors. Reviewed-by: twisti, kvn
This commit is contained in:
parent
fdbb64ef71
commit
6fbdf208fc
4 changed files with 58 additions and 19 deletions
|
@ -43,7 +43,9 @@ void trace_type_profile(ciMethod *method, int depth, int bci, ciMethod *prof_met
|
|||
}
|
||||
#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 @@ CallGenerator* Compile::call_generator(ciMethod* call_method, int vtable_index,
|
|||
// 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue