[crac] Integrated: Collect CREngine child

Anton Kozlov akozlov at openjdk.java.net
Fri Apr 22 09:12:31 UTC 2022


On Thu, 7 Apr 2022 14:02:39 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> When VM calls for CREngine it does not properly awaits termination of the engine. In case of `criuengine`, this could lead for a dangling process in the CRIU image [1]. This patch adds missing waitpid that eliminates the problem.
> 
> [1] https://github.com/openjdk/crac/blob/crac/src/java.base/unix/native/criuengine/criuengine.c#L68

This pull request has now been integrated.

Changeset: d2b19e91
Author:    Anton Kozlov <akozlov at openjdk.org>
URL:       https://git.openjdk.java.net/crac/commit/d2b19e9119cdf6d7b4e6197ff14c05327524071a
Stats:     20 lines in 1 file changed: 18 ins; 0 del; 2 mod

Collect CREngine child

Reviewed-by: heidinga

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

PR: https://git.openjdk.java.net/crac/pull/18


More information about the crac-dev mailing list