-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8360981: Remove use of Thread.stop in test/jdk/java/net/Socket/DeadlockTest.java #26490
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
Conversation
|
👋 Welcome back jpai! A progress list of the required criteria for merging this PR into |
|
@jaikiran 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
|
Thank you Alan for the review. tier2 tests passed with this change. |
|
/integrate |
|
Going to push as commit 3263361.
Your commit was automatically rebased without conflicts. |
Can I please get a review of this test-only change which removes the use of
Thread.stop()from the test? This addresses https://bugs.openjdk.org/browse/JDK-8360981.The use of
Thread.stop()test/jdk/java/net/Socket/DeadlockTest.javaisn't necessary for what this test is currently testing. The commit in this PR removes that call and instead wait for theThreadto complete execution, by callingThread.join()without any timeouts. If a genuine deadlock does happen, then the test will time out (on theThread.join()call) and the jtreg infrastructure should then help get hold of the necessary thread dumps to identify the cause of the deadlock.The test continues to pass with this change.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/26490/head:pull/26490$ git checkout pull/26490Update a local copy of the PR:
$ git checkout pull/26490$ git pull https://git.openjdk.org/jdk.git pull/26490/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 26490View PR using the GUI difftool:
$ git pr show -t 26490Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/26490.diff
Using Webrev
Link to Webrev Comment