RFR: 8265175: (fs) Files.copy(Path, Path, CopyOption...) should use sendfile on Linux [v4]

Brian Burkhalter bpb at openjdk.java.net
Fri Apr 16 15:49:35 UTC 2021


On Fri, 16 Apr 2021 12:13:02 GMT, David M. Lloyd <github.com+124581+dmlloyd at openjdk.org> wrote:

> It might also be worth having a look at `copy_file_range`: https://man7.org/linux/man-pages/man2/copy_file_range.2.html

Thanks for the suggestion, but that requires a version of Linux too new for our production builds.

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

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


More information about the nio-dev mailing list