[crac] Integrated: 8378446: [CRaC] Replace libcrexec with libcriuengine

Radim Vansa rvansa at openjdk.org
Fri Feb 27 11:46:23 UTC 2026


On Tue, 24 Feb 2026 10:44:17 GMT, Radim Vansa <rvansa at openjdk.org> wrote:

> After [JDK-8376959](https://bugs.openjdk.org/browse/JDK-8376959) the only use of libcrexec is running CRIU; in fact the code already is quite CRIU-dependent. The point of this task is to stop pretending that libcrexec is generic, and move code from criuengine binary (now removed) into libcriuengine implementing the C/R API.
> 
> This removes smuggling of some parameters through environment variables and execution of the criuengine. We still require anexecuteable (now called `criuhelper`) to become parent of the restored process, but this has significantly simplified implementation.
> 
> Replacement of communication between the restoring and restored process through signals and temporary files is out of scope of this change.

This pull request has now been integrated.

Changeset: 04874c6d
Author:    Radim Vansa <rvansa at openjdk.org>
URL:       https://git.openjdk.org/crac/commit/04874c6dfab41c3000fbd692205a925e55fb350a
Stats:     2649 lines in 20 files changed: 1052 ins; 1535 del; 62 mod

8378446: [CRaC] Replace libcrexec with libcriuengine

Reviewed-by: tpushkin

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

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


More information about the crac-dev mailing list