RFR: 8368633: (fs) Path.toRealPath(NOFOLLOW_LINKS) very slow on macOS [v2]

Brian Burkhalter bpb at openjdk.org
Fri Oct 10 23:02:24 UTC 2025


> Try to avoid checking file keys for all entries by first attempting `Path.compareTo` and `String.equalsIgnoreCase`.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8368633: Compare byte representations first then file keys; add micro

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/27709/files
  - new: https://git.openjdk.org/jdk/pull/27709/files/dff9776a..5412b625

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27709&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27709&range=00-01

  Stats: 76 lines in 2 files changed: 72 ins; 2 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/27709.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27709/head:pull/27709

PR: https://git.openjdk.org/jdk/pull/27709


More information about the nio-dev mailing list