Improve instrumentation of java/nio/file/WatchService/LotsOfEvents.java

XMLWordPrintable

    • b159

        As per JDK-8174819, LotsOfEvents fails occasionally due to an insufficient number of file creation events having been received. This appears to occur only on OS X which uses the non-native PollingWatchService implementation which in theory could be less efficient than a WatchService which is based on a native file change notification mechanism. Add some instrumentation to attempt to detect whether the failure could be due to inefficiency in the polling implementation.

              Assignee:
              Brian Burkhalter
              Reporter:
              Brian Burkhalter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: