RFR: 8292562: (fc) Use copy_file_range in FileChannel::transferTo on Linux [v4]

Brian Burkhalter bpb at openjdk.org
Tue Aug 23 15:36:20 UTC 2022


On Tue, 23 Aug 2022 10:51:46 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> At some point I would expect we will pass the append flag from the java code.

Agreed.

> Have you looked at transferFrom for the append case? I suspect it is masked by the check for EBADF

Yep, same problem.

> and now may be the time to re-examine that (okay to be a separate PR but hopefully you see the issue there).

Might as well go ahead and fix this in another rev of this PR.

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

PR: https://git.openjdk.org/jdk/pull/9925


More information about the nio-dev mailing list