8344577: Virtual thread tests are timing out on some macOS systems#22357
8344577: Virtual thread tests are timing out on some macOS systems#22357AlanBateman wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back alanb! A progress list of the required criteria for merging this PR into |
|
@AlanBateman 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 16 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 |
|
@AlanBateman 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. |
jaikiran
left a comment
There was a problem hiding this comment.
These test-only changes look OK to me. Is it intentional that only one of the test definitions of SleepALot has been updated to remove /othervm instead of both?
There are a few tests that override the default timeout with othervm/timeout=NNN. I didn't change them but if there aren't other settings set then I think jtreg will allow it (in these tests, the only reason to fork a new VM is because of VM options (mostly) and a few that need other configuration). So I'll leave it for now, but thanks for bringing it up. |
|
/integrate |
|
Going to push as commit a032de2.
Your commit was automatically rebased without conflicts. |
|
@AlanBateman Pushed as commit a032de2. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
As part of JEP 491, and prep for (e.g. 8336254), we added more tests to test/jdk/java/lang/Thread/virtual to stress several critical areas. A few of these tests can take a long time on older macos-x64 hardware, esp. those with HT enabled as jtreg -concurrency gets computed to a high value. Some of these tests have spinning threads and end up competing with other tests. This directory used to have a TEST.properties with exclusive.dirs=. to prevent these tests running concurrently with each other but we decided to remove it when the number of tests increased (at one point, tests were waiting several minutes to execute because they couldn't run concurrently with other tests in the directory).
This PR proposes a few adjustments:
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/22357/head:pull/22357$ git checkout pull/22357Update a local copy of the PR:
$ git checkout pull/22357$ git pull https://git.openjdk.org/jdk.git pull/22357/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 22357View PR using the GUI difftool:
$ git pr show -t 22357Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/22357.diff
Using Webrev
Link to Webrev Comment