RFR: 8371450: AES performance improvements for key schedule generation [v4]

Shawn M Emery duke at openjdk.org
Mon Nov 10 23:33:49 UTC 2025


> This fix improves performance in the AES key schedule generation by eliminating an unnecessary object and unnecessary mask in the inverse key schedule.
> 
> The micro:org.openjdk.bench.javax.crypto.AESReinit benchmark results are improved by 6.96% for arm64 and 7.79% for x86_64.
> 
> Thank you @jnimeh for catching the unnecessary byte mask!

Shawn M Emery has updated the pull request incrementally with one additional commit since the last revision:

  Update for code review comments from @valeriepeng

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28188/files
  - new: https://git.openjdk.org/jdk/pull/28188/files/55e052f6..fc2d1662

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28188&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28188&range=02-03

  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/28188.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28188/head:pull/28188

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


More information about the security-dev mailing list