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 16:36:01 UTC 2024


On Fri, 19 Apr 2024 16:20:12 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Thanks, fixed the typo.
>
> Running tests now with locally fixed typo.

Still seeing failures

;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with C-x C-f and enter text in its buffer.

#section:main
----------messages:(6/343)----------
command: main -Djdk.nio.file.WatchService.maxEventsPerPoll=-5 LotsOfEntries 5 fail
reason: User specified action: run main/othervm -Djdk.nio.file.WatchService.maxEventsPerPoll=-5 LotsOfEntries 5 fail 
started: Fri Apr 19 16:27:35 UTC 2024
Mode: othervm [/othervm specified]
finished: Fri Apr 19 16:27:35 UTC 2024
elapsed time (seconds): 0.233
----------configuration:(0/0)----------
----------System.out:(4/418)----------
register name13539591746028431398 for events
create 5 entries
poll watcher...
poll expecting overflow...
----------System.err:(12/689)----------
java.lang.RuntimeException: Expected overflow event
	at LotsOfEntries.testCreateLotsOfEntries(LotsOfEntries.java:74)
	at LotsOfEntries.main(LotsOfEntries.java:104)
	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)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected overflow event

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

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


More information about the nio-dev mailing list