RFR: 8285956: (fs) Excessive default poll interval in PollingWatchService [v4]

Brian Burkhalter bpb at openjdk.java.net
Tue May 3 00:50:21 UTC 2022


On Mon, 2 May 2022 22:30:51 GMT, Tyler Steele <duke at openjdk.java.net> wrote:

> An alternative would be to keep the initial wait at 1s and increase the default polling interval to 2s.

That might be better.

A more ideal way to fix this would be to implement something on top of `inotify()`, `kqueue()`, or whatever similar native system mechanism exists on AIX.

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

PR: https://git.openjdk.java.net/jdk/pull/8479


More information about the nio-dev mailing list