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

Brian Burkhalter bpb at openjdk.org
Fri Apr 19 14:47:58 UTC 2024


On Fri, 19 Apr 2024 07:20:16 GMT, Fabian Meumertzheim <duke at openjdk.org> wrote:

>> It would be good to know why the failures happened so they can be prevented.
>
> I pushed a new change that reverts to the original test cases, but adds more debug output. @bplb Could you perhaps run the test again on linux-aarch64 now that we will get to see all events that were sent?

> Could you share the omitted list of files? The error message should give us the diff, which would be helpful in figuring out what went wrong.

Voila:

java.lang.RuntimeException: Expected events on: [entry1, entry0, entry3, entry2, entry4], got: [entry1, entry0]
        at LotsOfEntries.testCreateLotsOfEntries(LotsOfEntries.java:84)
        at LotsOfEntries.main(LotsOfEntries.java:96)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1575)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18739#discussion_r1572486606


More information about the nio-dev mailing list