RFR: 8286763: [REDO] (fc) Tune FileChannel.transferFrom()

Alan Bateman alanb at openjdk.java.net
Tue May 17 15:38:48 UTC 2022


On Tue, 17 May 2022 15:29:52 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Isn't it that returning `IOS_UNSUPPORTED` would disable it for everyone? I thought that `IOS_UNSUPPORTED_CASE` allows it to be tried again. Of course one could check for append or overlap in the Java layer instead. I actually had it that way initially for the overlap case but removed it.

Oh I see, it's only IOS_UNSUPPORTED that disables it. With IOS_UNSUPPORTED_CASE then you may retry it again.

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

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


More information about the nio-dev mailing list