JDK-8175115 : Improve instrumentation of java/nio/file/WatchService/LotsOfEvents.java
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-02-17
  • Updated: 2023-07-25
  • Resolved: 2017-02-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 8 JDK 9
10Fixed 8u391Fixed 9 b159Fixed
Related Reports
Relates :  
Relates :  
Description
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.
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/c3039b7b89f0 User: lana Date: 2017-03-01 20:17:44 +0000
01-03-2017

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/c3039b7b89f0 User: bpb Date: 2017-02-24 19:34:53 +0000
24-02-2017