This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently, native file system notifiers are used by default on major platforms. We might use NIO2 notifier by default and possibly, if it works correctly, remove native notifiers completely in some future release. (Some system property for enforcing native notifier should be provided.)
Notes: - NIO2 WatchService was originally used in Solaris notifier by Egor Ushakov (masterfs.solaris), which was then generalized and renamed to masterfs.nio2. - NIO2 WatchService implementation for Mac OS X uses inefficient polling. See https://bugs.openjdk.java.net/browse/JDK-7133447. - Performance on Windows and Linux should be checked and measured and compared to native implementations.
Created attachment 156938 [details] Working draft of patch
Created attachment 156939 [details] First measurement results