RFR: 8193064: JarFile::getEntry0 method reference use cause for startup regression (original) (raw)
Claes Redestad claes.redestad at oracle.com
Tue Dec 5 14:51:48 UTC 2017
- Previous message: RFR: 8193031: Collections.addAll is likely to perform worse than Collection.addAll
- Next message: RFR: 8193064: JarFile::getEntry0 method reference use cause for startup regression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
desugaring the JarFileEntry::new in JarFile::getEntry0 avoids a hefty startup regression on our smallest startup tests:
http://cr.openjdk.java.net/~redestad/8193064/open.00/
I think the implementation could be improved further by using static non-capturing functions rather than Jar-/ZipFileEntry::new (which, since they reference a non static class constructor, are implicitly capturing) and filed: https://bugs.openjdk.java.net/browse/JDK-8193066
Thanks!
/Claes
- Previous message: RFR: 8193031: Collections.addAll is likely to perform worse than Collection.addAll
- Next message: RFR: 8193064: JarFile::getEntry0 method reference use cause for startup regression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]