On Linux/macOS, the file copy implementation uses a fixed 8k buffer. This should be re-examined as this isn't a good buffer size for some cases (like NFS). Ideally the buffer size should be a multiple of both the source and target block sizes.
On Windows, we should use the COPY_FILE_NO_BUFFERING flag when copying "large files". This flag is documented to improve copy performance for large files.
On Windows, we should use the COPY_FILE_NO_BUFFERING flag when copying "large files". This flag is documented to improve copy performance for large files.
- relates to
-
JDK-8289073 (fs) UnsatisfiedLinkError for sun.nio.fs.UnixCopyFile.bufferedCopy0()
-
- Resolved
-
-
JDK-8289095 (fs) UnixCopyFile build error on linux-x86
-
- Resolved
-
-
JDK-8289143 JDK-6980847 broke 32-bit builds
-
- Closed
-
-
JDK-6979221 (fc) FileChannel.transferTo/From need to be "tuned"
-
- Resolved
-
(1 links to)