Hi,

lambdas used in the interaction between JarFile and ZipFile can be
avoided by having ZipFile call a shared secret in JarFile to create a
JarFileEntry when appropriate. This removes an allocation per lookup.

Bug:    https://bugs.openjdk.java.net/browse/JDK-8193066
Webrev: http://cr.openjdk.java.net/~redestad/8193066/open.00/

Testing: tier1-2, verified a small per-op speed-up, significantly so
         for negative lookups and during startup/warmup (10-20%
         improvements when interpreting)

Thanks!

/Claes

Reply via email to