[crac] RFR: CRaC may exit before image dump is completed [v3]

Anton Kozlov akozlov at openjdk.org
Tue Mar 7 13:05:12 UTC 2023


On Tue, 7 Mar 2023 08:31:55 GMT, Roman Marchenko <rmarchenko at openjdk.org> wrote:

>> @AntonKozlov 
>> I personally would prefer to exit 0 on checkpoing to indicate the process is successfully finished. On the other hand I have no idea how can we recognize cases the child process is actually killed by someone else. So I agree with idea to return an appropriate code 128+N, as well as for restorewait, to keep it consistent.
>
> To make things iterative, I suggest to implement wait_for_children() in the same way as restorewait() for now, and then create the next PR to make appropriate changes related to signal handling and returning exit codes.

OK, makes sense for me as well.

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

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


More information about the crac-dev mailing list