RFR: [performance] Early class initialization from LambdaMetafactory improves lambda linkage performance

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


Please review the webrev at:

http://cr.openjdk.java.net/~skuksenko/jsr335/8024633/webrev.00/

LambdaForms which are generated for invokedynamic contains significant
part of code responsible for class initialization check/invocations.
If we force class initialization from InnerClassLambdaMetafactory we get
+6% - +10% performance improvement to lambda linkage (due to LF tree
simplification).

Minor performance improvement: merging two subsequent "doPrivileged"
actions into one gives ~+1%.



-- 
Best regards,
Sergey Kuksenko


More information about the lambda-dev mailing list