RFR: 8199453: Enable link-time generation of constructor forms

mandy chung mandy.chung at oracle.com
Mon Mar 12 17:03:41 UTC 2018

On 3/12/18 5:37 AM, Claes Redestad wrote:
> Hi,
> I found what appears to be a simple omission from my earlier work to 
> pre-generate
> LambdaForms at jlink time, in that the DIRECT_NEW_INVOKE_SPECIAL kind 
> is never looked
> up nor pregenerated.
> Fixing that means we're covering a few more kinds of LFs at link-time 
> and realizing a
> small startup optimization on first linking of constructor lambdas 
> (Foo::new)
> Webrev: http://cr.openjdk.java.net/~redestad/8199453/jdk.00/
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8199453

This looks good.


More information about the core-libs-dev mailing list