Improving perf of FileChannel.transferTo() on Windows
Kirk Shoop (MS OPEN TECH)
Kirk.Shoop at microsoft.com
Wed Nov 5 17:50:24 UTC 2014
From: nio-dev [mailto:nio-dev-bounces at openjdk.java.net] On Behalf Of Kirk Shoop (MS OPEN TECH)
From: Alan Bateman [mailto:Alan.Bateman at oracle.com]
. . .
Are you going to update the patch to only use this path when the SocketChannel is configured blocking?
Yes, we will post a new webrev when we have changed the code to only apply to blocking sockets.
Here is the new webrev.
https://openjdkcontrib.blob.core.windows.net/transferto/webrev-20141105.zip
We also tried to apply what we learned from the previous submission, so this one uses "jdk.net.enableFastFileTransfer" as the setting name, allows -Djdk.net.enableFastFileTransfer to enable the setting and adds a test that uses the setting.
Thanks,
Kirk
Developer
Microsoft Open Technologies, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20141105/41946c56/attachment.html>
More information about the nio-dev
mailing list