RFR: JDK-8232806: The LambdaMetaFactory eagerly initializes generated lambdas

mark.reinhold at oracle.com mark.reinhold at oracle.com
Mon Oct 28 22:29:58 UTC 2019


2019/10/28 11:10:25 -0700, vojin.jovanovic at oracle.com:
> This email proposes a change to the LambdaMetaFactory that allows to
> disable eager initialization (with Unsafe) of generated lambdas. ...
>
> ...
> 
> After the discussion with Brian Goetz, we have trimmed down to the
> following change:
> 
>   https://bugs.openjdk.java.net/secure/attachment/85247/lambda-disable-initialization.diff
> 
> The evolution of this change can be found at the issue: 
> 
>  https://bugs.openjdk.java.net/browse/JDK-8232806

Vojin -- I’d be happy to sponsor this change on your behalf.

I’ve posted a webrev that incorporates the suggestions that Paul and
Rémi made in the JBS issue:

  https://cr.openjdk.java.net/~mr/rev/8232806/

Paul, Rémi -- please make sure that I understood your suggestions
correctly.

- Mark


More information about the core-libs-dev mailing list