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

Paul Sandoz paul.sandoz at oracle.com
Thu Apr 23 15:30:39 UTC 2015


On Apr 23, 2015, at 5:12 PM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:

> https://bugs.openjdk.java.net/browse/JDK-8059455
> http://cr.openjdk.java.net/~vlivanov/8059455/webrev.00/
> 
> 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.
> 

+1

Paul.

> Testing: failed VM tests (timeouts)
> 
> Best regards,
> Vladimir Ivanov




More information about the core-libs-dev mailing list