RFR: 8317801: java/net/Socket/asyncClose/Race.java fails intermittently (aix)
Shruthi
duke at openjdk.org
Fri Jun 20 05:07:14 UTC 2025
On Thu, 19 Jun 2025 07:05:10 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>>> 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.
>
> Thanks for checking. I think what we have in the current PR is good. Your additional testing with a AIX of UnixDispatcher means there is the option to refactor it out of the Unix* code but it might have to get updated periodically if there are changes.
>
> So how about we go with what you have in the PR now. It just needs the copyright header on 2 files updated before it integrates.
@AlanBateman
Updated the copyright header. Can you please check now
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25817#issuecomment-2989800998
More information about the nio-dev
mailing list