JDK-8175229 : Release Note: Allow use of TransmitFile on Microsoft Windows
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 7u80,8u60,9
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2017-02-19
  • Updated: 2017-07-27
  • Resolved: 2017-03-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 JDK 9
7u80Resolved 8u60Resolved 9Resolved
Description
Applications running on server editions of Microsoft Windows that make heavy use of `java.nio.channels.FileChannel.transferTo` may see performance improvements if the implementation uses `TransmitFile`. `TransmitFile` makes use of the Windows cache manager to provide high-performance file data transfer over sockets. The system property "`jdk.nio.enableFastFileTransfer`" controls whether the JDK uses `TransmitFile` on Microsoft Windows. It is disabled by default but can be enabled by setting the system property on the command line with `-Djdk.nio.enableFastFileTransfer` or `-Djdk.nio.enableFastFileTransfer=true`.