-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
8266401: mark hotspot compiler/intrinsics/sha/cli tests which ignore VM flags #3829
Conversation
👋 Welcome back jiefu! A progress list of the required criteria for merging this PR into |
/label add hotspot-compiler |
@DamonFool |
@DamonFool The |
Hi @DamonFool, if these tests ignore external flags, how do they fail w/ Thanks, |
Well, yes and no. These tests will first start a main test process, which won't ignore external flags. For example, if we run TestUseSHA256IntrinsicsOptionOnUnsupportedCPU.java with UseAVX=1 on an Intel CPU, then
So these tests do ignore external flags in all the sub-test processes. It would be better to mark them as vm.flagless to reduce testing noise. [1] https://github.com/openjdk/jdk/blob/master/test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java#L85 |
Right, now I remember them :) they were actually in my first webrev for this. I’m not clear on your decision to add the copyright line to — Igor |
This is because @vnkozlov taught me that we should add a new copyright line if the original line isn't Oracle, not just modify the copyright year. |
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.
IANAL. you should never change other companies' copyright. if you feel that your changes meet your criteria to add your copyright line, you should add it regardless of the existence/absence of Oracle copyright.
in any case, the patch looks good to me.
-- Igor
@DamonFool This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
Thanks @iignatev for your review. |
Thanks @vnkozlov . |
@DamonFool Since your change was applied there have been 3 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 7e30130. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi all,
Could you please review this small and trivial patch that adds
@requires vm.flagless
tocompiler/intrinsics/sha/cli
tests that ignore VM flags?This change makes sense since it will fix some test failures when testing with extra VM flags.
For example, the following three failures will be fixed when testing with UseAVX<2 on Intel CPUs.
Thanks.
Best regards,
Jie
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3829/head:pull/3829
$ git checkout pull/3829
Update a local copy of the PR:
$ git checkout pull/3829
$ git pull https://git.openjdk.java.net/jdk pull/3829/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3829
View PR using the GUI difftool:
$ git pr show -t 3829
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/3829.diff