Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8266589

(fs) Improve performance of Files.copy() on macOS using copyfile(3)

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      generic
    • OS:
      os_x

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              bpb Brian Burkhalter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: