MethodHandle performance

Jochen Theodorou blackdrag at gmx.org
Thu Jan 12 17:08:55 UTC 2017



On 12.01.2017 15:23, Stephen Colebourne wrote:
[...]
> The real problem however is performance. In my tests, I am seeing a
> MethodHandle approach being 2 to 3 times slower than a reflection
> approach for identical functionality, which is quite a significant
> degradation. (using Java 8 b122)

just asking to be clear about the problem.... are you talking about the 
execution time or does it include the creation of MethodTypes? Because 
creating those MethodType objects tends to be heavy

bye Jochen


More information about the jigsaw-dev mailing list