RFR: 8293067: (fs) Implement WatchService using system library (macOS)

Michael Hall mik3hall at gmail.com
Thu Nov 17 02:49:55 UTC 2022



> On Nov 16, 2022, at 8:44 PM, Michael Hall <mik3hall at gmail.com> wrote:
> 
> 
>> 
>> @AlanBateman still can't reproduce any of that on my hardware, 
>> 
> 
> Same using ‘make test’ besides my own modified. 
> 
> Passed: java/nio/file/WatchService/LotsOfEvents.java
> 
>> I've been backed up with other things and finally getting to look at this more closely. For testing, I tried both release and debug builds across a range of macOS releases on both x64 and aarch64. Unfortunately there is a lot of timeouts and intermittent failures and across quite a range of macOS releases (from 10.15 to 12.2).
> 
> Doesn’t this sort of sound like a threading/deadlock type issue? Intermittent - timeouts. Maybe your runloop concerns were well founded.

Or does this possibly go back to the earlier discussed file descriptors running out issues?

FSEvents API leaks file descriptors (KQUEUE)
https://stackoverflow.com/questions/20311184/fsevents-api-leaks-file-descriptors-kqueue <https://stackoverflow.com/questions/20311184/fsevents-api-leaks-file-descriptors-kqueue>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/nio-dev/attachments/20221116/01752a76/attachment.htm>


More information about the nio-dev mailing list