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
8250902: Implement MD5 Intrinsics on x86 #806
Conversation
👋 Welcome back phh! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
There was a proposal to backport it to 11u, but to the wrong mailing list: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2020-August/039412.html I think it has baked enough on tip now 🙂 /cc @luhenry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but I'm not an official reviewer.
Ludovic's the original author, which is as "official" as it gets. Thanks for the review, Ludovic! |
Thanks for the review, Bernhard! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Paul,
thanks for doing this downport.
The changes look good except for one comment in CheckGraalIntrinsics.java
Best regards,
Volker
@@ -390,6 +390,11 @@ public CheckGraalIntrinsics() { | |||
"jdk/jfr/internal/JVM.getEventWriter()Ljava/lang/Object;"); | |||
} | |||
|
|||
if (isJDK16OrHigher()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we downport the MD5 intrinsic to JDK11, shouldn't this be changed to isJDK11OrHigher()
?
private static boolean isJDK16OrHigher() { | ||
return JavaVersionUtil.JAVA_SPEC >= 16; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need these checks here at all because the GraalVM in the JDK11 repository will probably never support JDK15 or 16.
Fixed, see incremental webrev. Thanks for the review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good now.
@phohensee This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
Thanks, Volker. Tagged. |
JBS issue was tagged 10 days ago. May I have a decision please? March 1st is 11.0.15 rampdown and quite close. |
Backport rejected. |
I'd like to backport MD5 intrinsification because it improves security related performance. I understand that it may be a bridge too far for 11u. In that case we (Amazon) intend to backport it to our internal 11u distro followed by Corretto.
Testing: tier1, including the new and existing sha tests.
Ludovic Henry did an 11u backport in 2020 (see JDK-8251319), but I can't find a review request on the jdk-updates-dev list. My backport is essentially identical to his, and is based on the backport from jdk15u. It was not clean.
This backport would be immediately followed by a backport of JDK-8251260 to fix two tests. After that, I'd like to backport the aarch64 version in JDK-8251216.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk11u-dev pull/806/head:pull/806
$ git checkout pull/806
Update a local copy of the PR:
$ git checkout pull/806
$ git pull https://git.openjdk.java.net/jdk11u-dev pull/806/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 806
View PR using the GUI difftool:
$ git pr show -t 806
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk11u-dev/pull/806.diff