RFR: 8274113: (fc) Tune FileChannel.transferFrom() [v2]
Brian Burkhalter
bpb at openjdk.java.net
Wed May 11 17:24:40 UTC 2022
On Wed, 11 May 2022 12:56:40 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/share/classes/sun/nio/ch/FileChannelImpl.java line 541:
>
>> 539: // set this to false if we find out later that it doesn't
>> 540: //
>> 541: private static volatile boolean transferToSupported = true;
>
> At some point we need to invert these to transferXXXNotSupported so that the default is false rather true, maybe we should do it as part of this PR because all usages are changed anyway?
Fixed in commit 6ec90b9116c88fdcc6fd64a7ba8ba30a4d32ca86.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8644
More information about the nio-dev
mailing list