RFR: 8317801: java/net/Socket/asyncClose/Race.java fails intermittently on AIX

Shruthi duke at openjdk.org
Wed Jun 18 06:43:29 UTC 2025


On Tue, 17 Jun 2025 06:14:09 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>>> I realize what is proposed here is the pending_signals patch that I attached to the JBS issue and I'm okay if we go with that. I was just curious if there is an alternative with an AIX version of UnixDispatcher.
>> 
>> Sure, I will check if we can add the AIX version of UnixDispatcher.
>
>> Sure, I will check if we can add the AIX version of UnixDispatcher.
> 
> It might be that it's not worth it but good to try again. As I said, I'm okay with the current patch, and happy that it doesn't require touching all channel implementations.

@AlanBateman 
I validated the `jdk/java/net/Socket/asyncClose/Race.java` with the [preClose.patch](https://github.com/user-attachments/files/20789395/preClose.patch) and ran it for 100 iterations, all of which passed successfully. Without the fix, it is failing at 22nd iteration.


TEST RESULT: Error. Program `/home/jenkins/shruthi/headstream_fix/without_fix/jdk/build/aix-ppc64-server-fastdebug/jdk/bin/java' timed out (timeout set to 120000ms, elapsed time including timeout handling was 122319ms).
--------------------------------------------------
Test results: error: 1
Report written to /home/jenkins/shruthi/JTreport/html/report.html
Results written to /home/jenkins/shruthi/JTwork
Error: Some tests failed or other problems occurred.
Test failed at iteration 22

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

PR Comment: https://git.openjdk.org/jdk/pull/25817#issuecomment-2982883662


More information about the nio-dev mailing list