RFR: 8293067: (fs) Implement WatchService using system library (macOS)
Brian Burkhalter
bpb at openjdk.org
Wed Oct 5 17:31:22 UTC 2022
On Mon, 3 Oct 2022 11:36:48 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> My primary concern with this approach is that it doesn't give a lot of advantage over `PollingWatchService` when you need to watch for changes in a very deep hierarchy of directories
Could the upcall be replaced for example with a `socketpair` where the native code writes the event data to one end, and the Java code polls the other end and reads the event data?
-------------
PR: https://git.openjdk.org/jdk/pull/10140
More information about the nio-dev
mailing list