8351593: [JMH] test PhoneCode.Bulk reports NPE exception#24011
8351593: [JMH] test PhoneCode.Bulk reports NPE exception#24011IvaVladimir wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back vaivanov! A progress list of the required criteria for merging this PR into |
|
@IvaVladimir 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 223 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. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@cl4es, @dwhite-intel) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
@IvaVladimir The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
The root cause seems to be that I'd suggest removing |
|
Is it make sense to restore the 'cmudict-0.7b.txt' from the old 'https://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks'? |
|
I would argue against that. While tests and test resources already comprise ~360M it could be argued that adding this 3.5M dictionary file wouldn't hurt all that much -- but OTOH this benchmark was ported over in a bulk fashion and obviously hasn't done what it's supposed to be doing ever since. I lean towards removing defunct and otherwise questionable microbenchmarks from the inlined JMH suite. |
cl4es
left a comment
There was a problem hiding this comment.
Thanks for this update which removes all benchmarks that rely on the absent cmudict-0.7b.txt dictionary. I think removing is less controversial than fixing in this case for a cleanup/bug fix PR.
Fixed variants of these micros might be good to consider for a follow-up enhancement, with backing evidence that they are useful enough to motivate the extra luggage.
|
/integrate Thanks for your review! |
|
@IvaVladimir |
dwhite-intel
left a comment
There was a problem hiding this comment.
Should /DictionaryWordValue/Xtras.java be deleted also?
|
yes, you are correct. Nobody else use the Xtras.java and it should be deleted. |
|
/integrate Thanks for your review! |
|
@IvaVladimir |
|
/sponsor |
|
Going to push as commit 50ac24e.
Your commit was automatically rebased without conflicts. |
|
@dwhite-intel @IvaVladimir Pushed as commit 50ac24e. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Tests that use data from the file 'cmudict-0.7b.txt' was deleted. Currently these tests using empty data set that looks bad.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24011/head:pull/24011$ git checkout pull/24011Update a local copy of the PR:
$ git checkout pull/24011$ git pull https://git.openjdk.org/jdk.git pull/24011/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24011View PR using the GUI difftool:
$ git pr show -t 24011Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24011.diff
Using Webrev
Link to Webrev Comment