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

Alan Bateman alanb at openjdk.org
Fri Aug 19 17:21:32 UTC 2022


On Fri, 19 Aug 2022 15:25:14 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Given https://bugs.openjdk.org/browse/JDK-4950302 I suppose the existing code(`sendfile`) will fail as well but I'll check.

I'm pretty sure that sendfile64 will succeed but copy_file_range will fail. It may be that we have to add test for this scenario.

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

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


More information about the nio-dev mailing list