More performance explorations

Charles Oliver Nutter headius at headius.com
Fri Jun 3 00:12:38 PDT 2011


I did make another small discovery: the + calls never inline
completely. They eventually are a virtual invocation of
RubyFixnum.op_plus, and in both old and new builds they're calls in
the asm.

This makes me wonder if Rémi was right about userland virtual
invocations never inlining at the end of a method handle chain. Can
that truly be the case? If so, it would mean most of JRuby's core
class methods won't inline...a sad state of affairs :(

- Charlie

On Fri, Jun 3, 2011 at 1:40 AM, Charles Oliver Nutter
<headius at headius.com> wrote:
> On Fri, Jun 3, 2011 at 1:39 AM, Charles Oliver Nutter
> <headius at headius.com> wrote:
>> Ok, I may have gotten confused a bit but the back-and-forth about
>> where an interface cast would be forced and where it would not.
>
> ...confused a bit BY the back-and-forth...
>
> - Charlie
>


More information about the mlvm-dev mailing list