[9] RFR (XS): 8059455: LambdaForm.prepare() does unnecessary work for cached LambdaForms

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Thu Apr 23 15:12:35 UTC 2015


LambdaForm.compileToBytecode() does unnecessary work (constructs 
invokerType & check an assertion) before ensuring that LambdaForm hasn't 
been already compiled. It happens very often for cached LambdaForms.

The fix is to do the check first.

Testing: failed VM tests (timeouts)

Best regards,
Vladimir Ivanov

More information about the core-libs-dev mailing list