RFR(S): 8144723: MethodHandleImpl.initStatics is no longer needed

Michael Haupt michael.haupt at oracle.com
Mon Dec 7 08:43:16 UTC 2015


Hi Claes,

this is a lower-case review, but thumbs up. Truth or dare. ;-)

Best,

Michael

> Am 04.12.2015 um 17:28 schrieb Claes Redestad <claes.redestad at oracle.com>:
> 
> Hi,
> 
> please review this issue to remove explicit initialization of MethodHandleImpl, which doesn't seem to be needed after recent j.l.invoke bootstrap improvements.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8144723
> Webrev: http://cr.openjdk.java.net/~redestad/8144723/webrev.01/
> 
> This removes 21 classes from jdk9/dev startup. I additionally identified a few eagerly initialized functions that can be made lazily initialized, which defers 6 classes from loading eagerly in startup tests that use lambdas explicitly.
> 
> Thanks!
> 
> /Claes

-- 

 <http://www.oracle.com/>
Dr. Michael Haupt | Principal Member of Technical Staff
Phone: +49 331 200 7277 | Fax: +49 331 200 7561
Oracle Java Platform Group | LangTools Team | Nashorn
Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, Germany
 <http://www.oracle.com/commitment>	Oracle is committed to developing practices and products that help protect the environment




More information about the core-libs-dev mailing list