RFR: JDK-8074579 Use more efficient and readable way of checking PKZIP signatures

Martin Buchholz martinrb at google.com
Mon Mar 9 22:33:40 UTC 2015


On Mon, Mar 9, 2015 at 3:22 PM, Xueming Shen <xueming.shen at oracle.com>
wrote:

>  The result looks good, though I doubt it will bring in any real
> "meaningful" performance
> improvement when reading a zip/jar file. But faster is faster.
>

You're right - it will make a 20% improvement in something that is only a
small part of java startup.  But it's still worth it.


> The same improvement might
> not applied to the java version, given those range check?
>

I think a similar future change to ZipConstants and friends will also be
worth it.

Other jar/zip changes coming as well.



More information about the core-libs-dev mailing list