RFR: 8274113: (fc) Tune FileChannel.transferFrom() [v2]

Brian Burkhalter bpb at openjdk.java.net
Wed May 11 17:16:42 UTC 2022


On Wed, 11 May 2022 12:58:27 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Brian Burkhalter has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>> 
>>   8274113: (fc) Tune FileChannel.transferFrom()
>
> src/java.base/unix/native/libnio/ch/FileChannelImpl.c line 66:
> 
>> 64: {
>> 65:     jlong pageSize = sysconf(_SC_PAGESIZE);
>> 66:     chan_fd = (*env)->GetFieldID(env, clazz, "fd", "Ljava/io/FileDescriptor;");
> 
> At some point we need to remove chan_fd, instead map0 should provide the fd.

I do not understand exactly what is intended here.

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

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


More information about the nio-dev mailing list