Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve interaction between CRIU and CRaC configuration options #1

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

keithc-ca
Copy link
Member

CRaC support requires CRIU support. If CRIU support is disabled explicitly and CRaC is enabled explicitly, configuration will now fail rather than incur a compile error later.

Otherwise, if CRaC support is requested explictly, CRIU support will implicitly be enabled if that is not the default for CRIU.

Also, if CRIU support is explicitly disabled, CRaC will be implicitly disabled if that is not the default for CRaC.

This is a back-port of ibmruntimes/openj9-openjdk-jdk#800.

@keithc-ca keithc-ca requested a review from pshipton June 11, 2024 16:51
CRaC support requires CRIU support. If CRIU support is disabled
explicitly and CRaC is enabled explicitly, configuration will now
fail rather than incur a compile error later.

Otherwise, if CRaC support is requested explictly, CRIU support will
implicitly be enabled if that is not the default for CRIU.

Also, if CRIU support is explicitly disabled, CRaC will be implicitly
disabled if that is not the default for CRaC.

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
@pshipton pshipton merged commit e689d26 into ibmruntimes:openj9 Jun 14, 2024
@keithc-ca keithc-ca deleted the crac-criu branch June 14, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants