8350460: org.openjdk.bench.vm.floatingpoint.DremFrem JMH fails with -ea#23917
8350460: org.openjdk.bench.vm.floatingpoint.DremFrem JMH fails with -ea#23917ericcaspole wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back ecaspole! A progress list of the required criteria for merging this PR into |
|
@ericcaspole 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 36 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
@ericcaspole To determine the appropriate audience for reviewing this pull request, one or more labels corresponding to different subsystems will normally be applied automatically. However, no automatic labelling rule matches the changes in this pull request. In order to have an "RFR" email sent to the correct mailing list, you will need to add one or more applicable labels manually using the /label pull request command. Applicable Labels
|
|
/label core-libs compiler |
|
@ericcaspole The |
Webrevs
|
|
@ericcaspole Do you mean hotspot-compiler for the label instead of javac? |
liach
left a comment
There was a problem hiding this comment.
These benchmarks are malformed indeed; the blackhole is never used.
|
Also might need to add an 2025 copyright header for this file. |
|
Thanks @liach I removed the unused Blackhole and updated the copyright header. |
|
If these last cleanups are OK could I get one last Reviewer rubber stamp? TIA |
liach
left a comment
There was a problem hiding this comment.
Indeed, these tests uses a static non-final field as the sink of work, which should be equivalent to using a blackhole. We can remove this unused blackhole safely.
|
/integrate |
|
Going to push as commit 76e0f30.
Your commit was automatically rebased without conflicts. |
|
@ericcaspole Pushed as commit 76e0f30. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
The normal SQE process runs all the repo JMH with -ea to get the last bit of extra testing. This DremFrem JMH contained some asserts that would always fire on the correct answer, disturbing this normal SQE process. I removed a lot more asserts from this JMH which seemed to make it more of a SQE test than a benchmark. We would prefer to keep benchmarks as benchmarks as much as possible and not creep into tests.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/23917/head:pull/23917$ git checkout pull/23917Update a local copy of the PR:
$ git checkout pull/23917$ git pull https://git.openjdk.org/jdk.git pull/23917/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 23917View PR using the GUI difftool:
$ git pr show -t 23917Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/23917.diff
Using Webrev
Link to Webrev Comment