Projects, which use JSR292

Charles Oliver Nutter headius at headius.com
Mon Feb 21 06:10:37 PST 2011


On Mon, Feb 21, 2011 at 7:19 AM, Christian Thalinger
<christian.thalinger at oracle.com> wrote:
>> I was dozing this afternoon and wondered if perhaps the indy recursive
>> calls are not reducing the recursive inlining count within Hotspot.
>> Perhaps it could explain why recursive calls are being inlined so
>> heavily, potentially to the exclusion of other calls?
>
> Yeah, I suspect something like that.

Some evidence to support...I modified the benchmark to pass all
previously recursive calls through an intermediate function. Since
it's fixed-arity with no block, it should directly bind through indy
just fine.

Perf improves by 2x! That's not enough to bring it back to the
non-ruby-inlining setup, but perhaps it demonstrates that there's an
issue with recursive inlining (for a start).

https://gist.github.com/837095

- Charlie


More information about the mlvm-dev mailing list