RFR: 8297275: WatchService delay with PollingWatchService causes test failures
Stewart X Addison
duke at openjdk.org
Tue Dec 13 15:19:55 UTC 2022
On Tue, 29 Nov 2022 11:19:37 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Does it always fail on specific systems or it is intermittent?
I have an AIX system that reproduces the problem (almost) 100% of the time. running your example repeatedly showsthe following - second timestamp always later than the first, although in some cases (The final one here and the third one) it's very close:
bash-5.1$ while true; do jdk-19.0.1+10-jre/bin/java AlanBatemanWatchTest; echo =====; sleep 5; done
2022-12-13T15:14:40.634203242Z
2022-12-13T15:14:40.638408744Z
=====
2022-12-13T15:14:45.937219162Z
2022-12-13T15:14:45.944337962Z
=====
2022-12-13T15:14:51.23575265Z
2022-12-13T15:14:51.235752651Z
=====
2022-12-13T15:14:56.525754548Z
2022-12-13T15:14:56.53320089Z
=====
2022-12-13T15:15:01.816169292Z
2022-12-13T15:15:01.82617524Z
=====
2022-12-13T15:15:07.096153867Z
2022-12-13T15:15:07.096153868Z
=====
2022-12-13T15:15:12.366438085Z
2022-12-13T15:15:12.373201878Z
=====
2022-12-13T15:15:17.645776392Z
2022-12-13T15:15:17.645776393Z
=====
-------------
PR: https://git.openjdk.org/jdk/pull/10824
More information about the nio-dev
mailing list