RFR: 8143232: Fix java.lang.invoke bootstrap when specifying COMPILE_THRESHOLD

Claes Redestad claes.redestad at oracle.com
Wed Nov 18 14:41:13 UTC 2015


Hi,

a recent change of mine to make LF bootstrap lazier[1] breaks when 
explicitly interpreting LambdaForms due to a circular dependency. By 
explicitly compiling identity and zero forms bootstrap to bytecode we 
avoid this corner case, while maintaining the benefits of lazy 
initialization. Also added a simple regression test.

Webrev: http://cr.openjdk.java.net/~redestad/8143232/webrev.01/
Bug: https://bugs.openjdk.java.net/browse/JDK-8143232

/Claes

[1] https://bugs.openjdk.java.net/browse/JDK-8142487



More information about the core-libs-dev mailing list