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

Alan Bateman alanb at openjdk.org
Thu Oct 9 09:44:40 UTC 2025


On Wed, 8 Oct 2025 23:59:53 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

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

Have you considered adding a JMH benchmark for exercising toRealPath and toRealPath(NOFOLLOW_LINKS)?

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

PR Comment: https://git.openjdk.org/jdk/pull/27709#issuecomment-3385029449


More information about the nio-dev mailing list