RFR: 8276779: (ch) InputStream returned by Channels.newInputStream should have fast path for SelectableChannels [v14]

Markus KARG duke at openjdk.java.net
Sun Nov 21 17:51:23 UTC 2021


On Sun, 21 Nov 2021 17:44:33 GMT, Markus KARG <duke at openjdk.java.net> wrote:

>> BTW: Would it possible to sync up your loom, it looks like hasn't been updated for some time.
>
>> A Pipe creates a pair of channels. If you change to something the following then it will fix the issue:
> 
> Sure, I know. Did that in https://github.com/openjdk/jdk/pull/5179/commits/c4904cac46ab07355f0f21327c6909366c897b21. 
> 
> What I actually meant is: This is not apparent to the average Javadoc reader, so I propose to change PipeImpl to not run into this situation instead of asking all calling code to care for that.

>BTW: Would it possible to sync up your loom, it looks like hasn't been updated for some time.

Uhm... syncing *what*?

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

PR: https://git.openjdk.java.net/jdk/pull/5179


More information about the nio-dev mailing list