mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
7057587: JSR 292 - crash with jruby in test/test_respond_to.rb
Don't skip receiver when GC'ing compiled invokedynamic callsites Reviewed-by: twisti, kvn, jrose
This commit is contained in:
parent
7c1d16f7d3
commit
15161b8cd1
4 changed files with 41 additions and 34 deletions
|
@ -183,7 +183,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, 0);
|
||||
ilt = new InlineTree(this, jvms->method(), jvms->caller(), site_invoke_ratio, MaxInlineLevel);
|
||||
}
|
||||
WarmCallInfo scratch_ci;
|
||||
if (!UseOldInlining)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue