File watching on Oracle JDK on Mac OS X and other platforms
Dan Xu
dan.xu at oracle.com
Fri Nov 1 17:07:59 PDT 2013
On 11/01/2013 03:45 PM, Michael Hall wrote:
> On Nov 1, 2013, at 11:33 AM, Christopher Brown wrote:
>
>> Hello,
>>
>> As I understand it, the file watcher service introduced with JDK 7 uses
>> native (near real-time) notifications on Windows and Linux, but polling on
>> Mac OS X.
>>
>> First off, is this correct?
> Yes, polling
>> Second, if it is, what is the polling interval on Mac OS X (and can it be
>> configured)?
> Don't know
>
> This was part of nio.2 for JDK 7. There a couple mailing lists for that.
> nio-dev at openjdk.java.net
> nio-discuss at openjdk.java.net
>
> Michael Hall
>
> trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz
>
> HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe
>
> AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter
>
>
>
Hi Christopher,
We are aware that polling in Mac platform is not performance-friendly,
and we are going to enhance it with the native facility provided on Mac
platform, like kqueue-based WatchService. Thanks!
-Dan
More information about the macosx-port-dev
mailing list