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.

Bug 255757 - Use NIO2 Notifier by default
Summary: Use NIO2 Notifier by default
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
Depends on:
Reported: 2015-10-07 08:55 UTC by Jaroslav Havlin
Modified: 2015-10-23 15:32 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:

Working draft of patch (4.00 KB, patch)
2015-10-23 15:31 UTC, Jaroslav Havlin
Details | Diff
First measurement results (930 bytes, text/plain)
2015-10-23 15:32 UTC, Jaroslav Havlin

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Havlin 2015-10-07 08:55:51 UTC
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.)
Comment 1 Jaroslav Havlin 2015-10-08 13:00:10 UTC

 - 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.

 - Performance on Windows and Linux should be checked and measured and compared
   to native implementations.
Comment 2 Jaroslav Havlin 2015-10-23 15:31:21 UTC
Created attachment 156938 [details]
Working draft of patch
Comment 3 Jaroslav Havlin 2015-10-23 15:32:25 UTC
Created attachment 156939 [details]
First measurement results