On Mon, Feb 21, 2011 at 7:19 AM, Christian Thalinger
<christian.thalin...@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
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to