RFR: 8330077: Allow max number of events to be buffered to be configurable to avoid OVERFLOW_EVENT [v12]
Fabian Meumertzheim
duke at openjdk.org
Mon Apr 22 19:53:59 UTC 2024
On Mon, 22 Apr 2024 18:39:26 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Yes, I think it needs to be ascertained why the test has been failing in some cases and actually fix it as opposed to just tweaking the parameters.
I pushed a new version with better debug output and, crucially, logic that repeatedly polls the `WatchService` until no new events are reported. I suspect that the failures may not really be due to a bug in the non-test code, but rather caused by a single `poll` only seeing a subset of all events, with later `poll`s seeing all of them.
@bplb If you think that this approach is reasonable, could you rerun the test?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18739#issuecomment-2070827004
More information about the nio-dev
mailing list