RFR: 8344328: (dc) DatagramChannelImpl.blockingReceive can now synchronize on packet [v2]

Alan Bateman alanb at openjdk.org
Thu Nov 21 16:28:22 UTC 2024


On Tue, 19 Nov 2024 16:08:32 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Now that JEP 491 is integrated, we can restore long-standing behavior in the DatagramSocket adaptor to synchronize on the DatagramPacket for the duration of the send/receive.
>
> Alan Bateman has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
> 
>  - Broadly scope of synchronized blocks
>  - Merge branch 'master' into JDK-8344328
>  - Merge branch 'master' into JDK-8344328
>  - Merge branch 'JDK-8344328'
>  - More improvements
>  - Initial commit

Thanks, let's go with what we have.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22212#issuecomment-2491699389


More information about the nio-dev mailing list