-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8333867: SHA3 performance can be improved #1000
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back dchuyko! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
This backport pull request has now been updated with issue from the original commit. |
|
/approval request This is a clean backport of multi-platform SHA3 performance improvement. MessageDigests benchmarks show same C2 generated code speedup as for the original change. E.g. +25% on Graviton 2 on long arrays. The patch removes unnecessary conversions between byte arrays and long arrays without changing the computation algorithm, only code related to SHA3 is modified, except the single private->protected blockSize change in DigestBase. Testing: test/jdk/sun/security, tier1, tier2. |
@dchuyko Please get this into a JDK 23 release (latest active STS), before proposing for JDK 21. |
@dchuyko This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
This is a clean backport of multi-platform SHA3 performance improvement. MessageDigests benchmarks show same speedup as for the original change (C2 generated code variant, -XX:-UseSHA3Intrinsics).
Testing: test/jdk/sun/security, tier1, tier2 (linux-aarch64, linux-amd64).
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/1000/head:pull/1000
$ git checkout pull/1000
Update a local copy of the PR:
$ git checkout pull/1000
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/1000/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1000
View PR using the GUI difftool:
$ git pr show -t 1000
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/1000.diff
Webrev
Link to Webrev Comment