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

Brian Burkhalter bpb at openjdk.org
Tue Aug 23 15:32:27 UTC 2022


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

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8292562: Add test of transferTo while target is appending
>
> src/java.base/unix/native/libnio/ch/FileChannelImpl.c line 190:
> 
>> 188:     off64_t offset = (off64_t)position;
>> 189:     jlong n;
>> 190:     if (my_copy_file_range_func) {
> 
> I assume this should check if my_copy_file_range_func is NULL.

Yes, it should.

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

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


More information about the nio-dev mailing list