-
Notifications
You must be signed in to change notification settings - Fork 57
8323782: Race: Thread::interrupt vs. AbstractInterruptibleChannel.begin #130
Conversation
Co-authored-by: Alan Bateman <alanb@openjdk.org> Reviewed-by: alanb, dholmes
👋 Welcome back rrich! A progress list of the required criteria for merging this PR into |
@reinrich 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 30 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 |
This backport pull request has now been updated with issue from the original commit. |
|
Thanks for reviewing. |
Going to push as commit 1188d40.
Your commit was automatically rebased without conflicts. |
Hi,
this PR contains a backport of commit openjdk/jdk@4018b2b.
I'd like to do the backport because jdk 22 is affected by the issue. The included test hangs without the change.
Besides it will reduce the noise in jck tests we're doing regularly (the test api/java_net/ServerSocket/AcceptInterruptibleTests_PlatformThreads fails sometimes because of the issue).
The original fix does not apply due to renaming of a local variable. Also the context differs because there's no
postInterrupt
method to be called.Nevertheless I'd consider the risk low because of the small size of the fix.
Tested with the included test.
The fix passed our CI testing: JTReg tests: tier1-4 of hotspot and jdk. All of Langtools and jaxp. JCK, SPECjvm2008, SPECjbb2015, Renaissance Suite, and SAP specific tests.
Testing was done with fastdebug builds on the main platforms and also on Linux/PPC64le.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk22u.git pull/130/head:pull/130
$ git checkout pull/130
Update a local copy of the PR:
$ git checkout pull/130
$ git pull https://git.openjdk.org/jdk22u.git pull/130/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 130
View PR using the GUI difftool:
$ git pr show -t 130
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk22u/pull/130.diff
Webrev
Link to Webrev Comment