RFR: 8293067: (fs) Implement WatchService using system library (macOS)
Brian Burkhalter
bpb at openjdk.org
Tue Sep 13 16:46:51 UTC 2022
On Thu, 8 Sep 2022 14:49:52 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>>> In our CI system `test/jdk/java/nio/file/WatchService/Move.java` appears to time out consistently, although I have not seen it happen on my local machine.
>>
>> Can you provide the `.jtr` file, please? I haven't seen the test hang, but by inserting different delays different systems can expose synchronization issues, of course.
>
>> Can you provide the `.jtr` file, please? I haven't seen the test hang, but by inserting different delays different systems can expose synchronization issues, of course.
>
> I can't give the whole .jtr file due to internal content, but here are some excerpts.
> @bplb Thanks for the log. It's really strange, though, that there is nothing from `System.out` because the test itself logs intensively even before any `WatchService` code is executed. Also, AFAIK timeouts trigger thread dump, which would be quite helpful. Are you not at liberty to share those as well?
@mkartashev When a test times out, often not a lot of information is captured, including `System.out` and thread dumps. It can be frustrating to debug.
-------------
PR: https://git.openjdk.org/jdk/pull/10140
More information about the nio-dev
mailing list