-
Sub-task
-
Resolution: Fixed
-
P3
-
8
-
b115
-
generic
-
generic
InnnerClassLambdaMetafactory heavily used ASM.Type. The general purposes are:
- 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.
Attached webrev contains improvements where all actions above are implemented using standard "Class<?>" structures.
As result we get +3% - +10% performance improvement to lambda linkage.
- 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.
Attached webrev contains improvements where all actions above are implemented using standard "Class<?>" structures.
As result we get +3% - +10% performance improvement to lambda linkage.
- is blocked by
-
JDK-8023984 Lambda metafactory: startup performance improvement for using a static factory ref instead of ctor ref
- Resolved