JDK Bug# 8079620 (Watch Service Deadlock on OSX)
Christopher Brown
christopherbrown06 at gmail.com
Sun Aug 9 09:15:29 UTC 2015
Hi Brian,
I've never really had time to get into the native side of different
platforms, so I'm focused more on the Java side. I've raised this subject
on a previous thread in this list:
http://mail.openjdk.java.net/pipermail/nio-dev/2014-August/002691.html
There are a few messages in the thread over a relatively long period, and
some pointers to using KQueue. I've unfortunately not had the time to
explore adapting the different ideas into a full "NIO file provider", and
don't have enough experience on the C-side of things to implement a robust
and efficient solution.
I've previously used JXFileWatcher, which was a good (but non-standard)
solution. I've more or less given up on that as I kept encountering issues
when the native libraries used by it changed (more specifically, the way it
invoked them) and I've had issues with event ordering that I gave up trying
to get fixed, as well as some high-load saturation issues where it just
stopped delivering events.
Hope that helps, it's been a long time since JDK7 introduced this and it'd
be a real let-down if was postponed after JDK9.
Thanks,
Christopher
On 8 August 2015 at 01:20, Brian Burkhalter <brian.burkhalter at oracle.com>
wrote:
> Hi Christopher,
>
> I am not really in a position to respond to the question at this time.
>
> Do you have a pointer to the Mac OS X developer documentation on the
> specific native notifications you have in mind?
>
> Thanks,
>
> Brian
>
> On Aug 7, 2015, at 4:45 AM, Christopher Brown <
> christopherbrown06 at gmail.com> wrote:
>
> Is there any news concerning a native implementation of the WatchService
> (using native notifications instead of polling) for Mac OS X ? For
> example, is it planned for JDK9 ?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150809/06ec5508/attachment.html>
More information about the nio-dev
mailing list