RFR' [performance] Avoid of usage ASM.Type from InnerClassLambdaMetafactory

Sergey Kuksenko sergey.kuksenko at oracle.com
Wed Sep 11 09:23:16 PDT 2013

Please review the webrev at:


InnnerClassLambdaMetafactory heavily used ASM.Type. The general purposes
- getting parameter size,
- getting correct opcode for LOAD and RETURN operation,
- making Type's String description,
- generating proper conversions from TypeConvertingMethodAdapter.
All that gives a significant performance overhead.

Webrev contains improvements where all actions above are implemented
using standard "Class<?>" structures.
As result we get +3% - +10% performance improvement to lambda linkage.

Best regards,
Sergey Kuksenko

More information about the lambda-dev mailing list