-
Notifications
You must be signed in to change notification settings - Fork 148
8358496: Concurrent reading from Socket with timeout executes sequentially #2470
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
base: master
Are you sure you want to change the base?
Conversation
|
👋 Welcome back rm-gh-8! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issue from the original commit. |
|
/approval request for backport of JDK-8358496: Concurrent reading from Socket with timeout executes sequentially. Ran the updated and related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64: (All Passed) - make test TEST=test/jdk/java/net/Socket Results are attached. |
phohensee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only conflict I see is in Timeouts.java where the original commit deleted the import of ScheduledExecutorService. You can probably fix that.
|
The |
Backporting JDK-8358496: Concurrent reading from Socket with timeout executes sequentially. Updated SocketImpl so that the timeout applies to the total time waiting to acquire and read. Adds a new test to the existing java/net/Socket/Timeouts test. The test was minimally modified from the original commit for JDK version compatibility.
Ran GHA Sanity Checks (passed) and related test (passed).
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2470/head:pull/2470$ git checkout pull/2470Update a local copy of the PR:
$ git checkout pull/2470$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2470/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2470View PR using the GUI difftool:
$ git pr show -t 2470Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2470.diff
Using Webrev
Link to Webrev Comment