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

(0.43) Enable -XX:[+|-]CRIUSecProvider JVM option #18593

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

WilburZjh
Copy link
Contributor

Whenever we are performing a checkpoint
this is typically done by enabling
-XX:+EnableCRIUSupport. It will remove
all the security providers and the
CRIUSecProvider is inserted to the
runtime enviroment. This provides a more
locked down approach to what cryptography
is allowed while taking a checkpoint.

Therefore, this new flag is introduced by
passing it after -XX:+EnableCRIUSupport is
enabled. When this option is used, we no
longer make use of CRIUSecProvider and
instead use normal provider loading to
enable all security algorithms in an out
of the box state. This can allow users to
make use of any algorithms in the various
providers available.

Back-ported from #18354

Whenever we are performing a checkpoint
this is typically done by enabling
-XX:+EnableCRIUSupport. It will remove
all the security providers and the
CRIUSecProvider is inserted to the
runtime enviroment. This provides a more
locked down approach to what cryptography
is allowed while taking a checkpoint.

Therefore, this new flag is introduced by
passing it after -XX:+EnableCRIUSupport is
enabled. When this option is used, we no
longer make use of CRIUSecProvider and
instead use normal provider loading to
enable all security algorithms in an out
of the box state. This can allow users to
make use of any algorithms in the various
providers available.
@WilburZjh
Copy link
Contributor Author

WilburZjh commented Dec 11, 2023

Build is passed based upon Semeru JDK21; There is one failure in Sanity.functional test but does not related to CRIU -> https://hyc-runtimes-jenkins.swg-devops.com/view/OpenJ9%20-%20Personal/job/Pipeline-Build-Test-Personal/19827/

@WilburZjh
Copy link
Contributor Author

@jasonkatonica FYI

@WilburZjh
Copy link
Contributor Author

Hi @pshipton , please help to review

@pshipton pshipton changed the title Enable -XX:[+|-]CRIUSecProvider JVM option (0.43) Enable -XX:[+|-]CRIUSecProvider JVM option Dec 11, 2023
@pshipton pshipton merged commit 71e617a into eclipse-openj9:v0.43.0-release Dec 11, 2023
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