JDK-8266589 : (fs) Improve performance of Files.copy() on macOS using copyfile(3)
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2021-05-05
  • Updated: 2021-05-13
  • Resolved: 2021-05-07
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 17
17 b22Fixed
Related Reports
Relates :  
Description
Testing revealed that copying using fcopyfile(3) has better throughput that using a buffer in a read-write loop. This should be used on macOS.
Comments
Changeset: b5b31197 Author: Brian Burkhalter <bpb@openjdk.org> Date: 2021-05-07 15:23:38 +0000 URL: https://git.openjdk.java.net/jdk/commit/b5b31197e5ab9fda8b9f09367aba280f865d2320
07-05-2021