[crac] RFR: 8371549: [CRaC] Implement C/R in Selector on non-Linux [v2]

Timofei Pushkin tpushkin at openjdk.org
Mon Dec 22 15:02:24 UTC 2025


On Mon, 1 Dec 2025 08:30:59 GMT, Radim Vansa <rvansa at openjdk.org> wrote:

>> Historically we have an extensive set of tests for java.nio.channels.Selector. However this runs only on Linux (using CRIU) rather than being platform agnostic and tested on all platforms. On Linux, it does not exercise PollSelectorImpl (this can be preferred using a system property) either - just the default EpollSelectorImpl.
>> 
>> This PR enables testing on all available Selector implementations, cleans up the implementation of those tests and introduces the C/R implementations.
>
> Radim Vansa has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Set FD value on Windows, too

Sorry, the change is big and I haven't had enough spare time to review it recently. Hopefully will get to it in upcoming weeks, if nobody else will. I believe this is not a priority and does not block anything?

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

PR Comment: https://git.openjdk.org/crac/pull/276#issuecomment-3682418700


More information about the crac-dev mailing list