RFR: 8300493: Use ArraysSupport.vectorizedHashCode in j.u.zip.ZipCoder

Alan Bateman alanb at openjdk.org
Fri Jan 20 11:13:30 UTC 2023


On Thu, 19 Jan 2023 09:46:12 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> FWIW the micro is derived from the sibling `ZipFileGetEntry` micro in the same directory. It's not exactly necessary for this use case to add such a benchmark, but I think there's value in verifying that optimizing `checkedHash` improves `ZipFile` setup and adding the micro might allow us to find further opportunities down the line.

I've no doubt it improves checkedHash, it's just that open the zip file and reading in the CEN probably dominates when not in the file system cache.

-------------

PR: https://git.openjdk.org/jdk/pull/12077



More information about the security-dev mailing list