JRuby invokedynamic updates
Rémi Forax
forax at univ-mlv.fr
Fri Aug 12 13:55:16 PDT 2011
On 08/12/2011 08:22 PM, Tom Rodriguez wrote:
>> I wonder if this patch is not too much.
>> If a big method is called through an invokedynamic + method handle
>> then it will be inlined.
> That's not how it works. The methods called by the adapter will still have to pass normal inlining checks before being inlined so at worst you just end up with a bunch of extra calls.
Ok, sorry.
> The big cliff with invokedynamic performance is the slowness of the all the adapter machinery and currently the only way to avoid that is to inline at least the argument swizzling part.
>
> tom
Rémi
More information about the mlvm-dev
mailing list