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!

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

Commit messages:
 - Fix tabs to whitespaces
 - 8371450: AES performance improvements for key schedule generation

Changes: https://git.openjdk.org/jdk/pull/28188/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28188&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371450
  Stats: 18 lines in 1 file changed: 1 ins; 3 del; 14 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

Reply via email to