Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/doCall.cpp @ 3784:aabf25fa3f05
7057587: JSR 292 - crash with jruby in test/test_respond_to.rb
Summary: don't skip receiver when GC'ing compiled invokedynamic callsites
Reviewed-by: twisti, kvn, jrose
author | never |
---|---|
date | Wed, 22 Jun 2011 14:45:37 -0700 |
parents | f918d6096e23 |
children | fdb992d83a87 |
comparison
equal
deleted
inserted
replaced
3783:de6a837d75cf | 3784: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); |