[crac] RFR: 8376959: [CRaC] Turn simengine into shared library [v8]
Timofei Pushkin
tpushkin at openjdk.org
Thu Feb 5 06:52:55 UTC 2026
On Wed, 4 Feb 2026 15:35:25 GMT, Radim Vansa <rvansa at openjdk.org> wrote:
>> Right now `simengine` is implemented as an executable, invoked through `libcrexec` that implements the C/R API. Since the programmatic C/R API should be the main interface, any exec API is redundant; let's turn `simengine` into shared (dynamic) library implementing the API on its own.
>>
>> The `pauseengine` does not need to exist on its own; this can be only an option `pause=true` for `simengine`. The implementation is Linux only (and it is out of scope to fill in a non-Linux implementation - the `pause` option can be just excluded in non-Linux `libsimengine`).
>>
>> We expect to turn `libcrexec` + `criuengine` into `libcriuengine` in a follow up (not as part of this issue).
>
> Radim Vansa has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains eight commits:
>
> - Merge branch 'crac' into simengine_separation
> - Fix tests on non-Linux
> - Try fix Windows build
> - Address review comments
> - Fixup
> - Fixups
> - Implement static build & other platforms
> - JDK-8376959: [CRaC] Turn simengine into shared library
Thanks, I plan to early next week
-------------
PR Comment: https://git.openjdk.org/crac/pull/289#issuecomment-3851394504
More information about the crac-dev
mailing list