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

2015-04-24 Thread Vladimir Ivanov
Thanks, Paul. Best regards, Vladimir Ivanov On 4/23/15 6:30 PM, Paul Sandoz wrote: On Apr 23, 2015, at 5:12 PM, Vladimir Ivanov wrote: https://bugs.openjdk.java.net/browse/JDK-8059455 http://cr.openjdk.java.net/~vlivanov/8059455/webrev.00/ LambdaForm.compileToBytecode() does unnecessary w

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

2015-04-23 Thread Paul Sandoz
On Apr 23, 2015, at 5:12 PM, Vladimir Ivanov 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 Lambda

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

2015-04-23 Thread Vladimir Ivanov
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 cac