[crac] Integrated: 8376959: [CRaC] Turn simengine into shared library

Radim Vansa rvansa at openjdk.org
Fri Feb 13 07:22:28 UTC 2026


On Mon, 2 Feb 2026 17:12:38 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).

This pull request has now been integrated.

Changeset: a297096c
Author:    Radim Vansa <rvansa at openjdk.org>
URL:       https://git.openjdk.org/crac/commit/a297096c4eed433268f0698c2ab94136477669ef
Stats:     3035 lines in 28 files changed: 1788 ins; 1173 del; 74 mod

8376959: [CRaC] Turn simengine into shared library

Reviewed-by: tpushkin

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

PR: https://git.openjdk.org/crac/pull/289


More information about the crac-dev mailing list