RFR: 8330077: Allow max number of events to be buffered to be configurable to avoid OVERFLOW_EVENT [v12]

Alan Bateman alanb at openjdk.org
Mon Apr 22 12:11:30 UTC 2024


On Fri, 19 Apr 2024 15:42:27 GMT, Fabian Meumertzheim <duke at openjdk.org> wrote:

>> The limit on the number of events buffered for a single `j.n.f.WatchKey` is now configurable via the `sun.nio.fs.maxWatchEvents`.
>
> Fabian Meumertzheim has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix typo

The implNote in WatchService looks okay. The change to AbstractWatchKey looks okay, just a bit overkill in the clamping. The test looks like it will take a few iterations to be stable so I'll stay out of that for now.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18739#issuecomment-2069231056


More information about the nio-dev mailing list