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:58:58 UTC 2024


On Fri, 19 Apr 2024 14:45:23 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>>> 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)
>
>> Could you perhaps run the test again on linux-aarch64 now that we will get to see all events that were sent?
> 
> @fmeum Will initiate in the next few minutes. Thanks.

I am seeing a build error now:

jdk/open/src/java.base/share/classes/java/nio/file/WatchService.java:105: error: reference not found
 * {@link StandardWatchEventKind#OVERFLOW OVERFLOW} event is queued. This
          ^
1 error

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

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


More information about the nio-dev mailing list