[jdk11u-dev] RFR: 8280703: CipherCore.doFinal(...) causes potentially massive byte[] allocations during decryption

Scott Gibbons sgibbons at openjdk.org
Mon Feb 27 18:06:52 UTC 2023


Backporting because this change results in ~3x performance improvement in AES-CTR.

Risk is low.  Tested with tier1 and benchmark.

The PR does not backport cleanly.  The buffer name was changed, but functionally remains the same.

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

Commit messages:
 - Backport 409382ba4b43bf48ed0086020dd20641effd35b6

Changes: https://git.openjdk.org/jdk11u-dev/pull/1780/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1780&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8280703
  Stats: 8 lines in 1 file changed: 4 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1780.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1780/head:pull/1780

PR: https://git.openjdk.org/jdk11u-dev/pull/1780


More information about the jdk-updates-dev mailing list