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

Scott Gibbons sgibbons at openjdk.org
Wed Mar 1 19:09:45 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.

Scott Gibbons has updated the pull request incrementally with one additional commit since the last revision:

  Fix initialization of offset

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/1780/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/1780/files/6d375967..a4a93c50

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1780&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1780&range=03-04

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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