OS X watch service

Brian Burkhalter brian.burkhalter at oracle.com
Tue Dec 13 22:27:13 UTC 2016

Hello Michael,

On Dec 10, 2016, at 6:55 AM, Michael Hall <mik3hall at gmail.com> wrote:

> I think I raised some of this long ago but I am looking at it again and it is sort of related to the PollingWatchService discussion that just came up on the list. As far as I know OS X is about the only platform using PollingWatchService. So I will raise the issue again.

In addition to OS X, PollingWatchService is used on AIX and pre-11 versions of Solaris.

> I had tried to write a native OS X watch service based on UKKQueue. […]

Without some study I could not at this point write anything of substance on the alternatives you discuss.

> So, I guess I am, at this point,  simply throwing this out for any suggestions, concerns, thoughts - these would be appreciated. One reason I didn’t keep going before is there really didn’t seem to be that much interest. So just indicating that would be good in making it seem worth the effort.

There is definitely interest in this topic. There is for example a nearly five year old issue on file [1] to create a kqueue-based WatchService as you are suggesting.

Note that if you are interested in becoming an OpenJDK contributor it would be worth perusing [2].



[1] https://bugs.openjdk.java.net/browse/JDK-7133447
[2] http://openjdk.java.net/contribute/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20161213/512e070b/attachment.html>

More information about the nio-dev mailing list