Arg ordering on the test path method handle for GwT

Kirill Shirokov kirill.shirokov at oracle.com
Sat Jan 15 19:17:43 PST 2011


>
> My question had to do with run time overhead. Do you think that
> invokeGeneric
> is slower than invokeEaxct at run time? If not then that removes one of the
> reasons for not using java classes.

Hi Mark,

The current invokeGeneric argument conversion implementation has poor 
performance profile. In jdk7 b124 invokeGeneric() can be 50 times or 
more slower than invokeExact() or invokeGeneric() with exactly matching 
signature.

As far as I know, John hopes to address this problem before JDK7 FCS.

Best regards,
Kirill


More information about the mlvm-dev mailing list