>> 
> 
> 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.  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

> 
> I wonder if it's not better to crawle the method handle tree and
> sum up the bytecode size of all method that have a bytecode size
> (all the ones that aren't in j.l.invoke).
> 
> Rémi
> 
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev@openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to