RFR: 8333867: SHA3 performance can be improved
Vladimir Kozlov
kvn at openjdk.org
Mon Jun 10 17:28:14 UTC 2024
On Mon, 10 Jun 2024 15:01:55 GMT, Ferenc Rakoczi <duke at openjdk.org> wrote:
> This PR removes some unnecessary conversions between byte arrays and long arrays during SHA3 digest computations.
src/java.base/share/classes/sun/security/provider/SHA3.java line 98:
> 96: @IntrinsicCandidate
> 97: private void implCompress0(byte[] b, int ofs) {
> 98: b2lLittle(b, ofs, longBuf, 0, blockSize);
What about BigEndian machines?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19632#discussion_r1633597451
More information about the hotspot-compiler-dev
mailing list