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

Tyler Steele duke at openjdk.java.net
Tue May 3 14:03:18 UTC 2022


On Tue, 3 May 2022 00:46:37 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

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

I made this change.
 
> 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.

Agreed. I have adding an implementation on top of AIX Event Infrastructure on my to-do list, but this easy fix that will address my current problem.

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

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


More information about the nio-dev mailing list