RFR: 8330077: Allow max number of events to be buffered to be configurable to avoid OVERFLOW_EVENT [v14]
Alan Bateman
alanb at openjdk.org
Wed May 1 06:19:54 UTC 2024
On Wed, 24 Apr 2024 08:18:03 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 `jdk.nio.file.WatchService.maxEventsPerPoll`.
>
> Fabian Meumertzheim has updated the pull request incrementally with two additional commits since the last revision:
>
> - Reflow
> - Use `@systemProperty`
implNote + implementation changes look okay (the clamping is a bit overkill but okay). I haven't studied the test but happy to see that Brian has run it hundreds of times on different systems to check the stability.
-------------
Marked as reviewed by alanb (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18739#pullrequestreview-2033100880
More information about the nio-dev
mailing list