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

CRIU moves CRIUSupport APIs from openj9.criu to java.base #18417

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

JasonFengJ9
Copy link
Member

@JasonFengJ9 JasonFengJ9 commented Nov 8, 2023

CRIU moves CRIUSupport APIs from openj9.criu to java.base

The CRIUSupport.checkpointJVM() can be invoked within java.base;
Moved openj9.criu/org.eclipse.openj9.criu.CRIUSupport checkpointJVM related implementation into
java.base/openj9.internal.criu.InternalCRIUSupport, CRIUSupport APIs are just wrappers of InternalCRIUSupport methods;
Moved J9InternalCheckpointHookAPI & SecurityProviders as well;
Duplicated CRIUDumpPermission & CRIU exception classes within openj9.internal.criu;
Moved criusupport.cpp/hpp contents into CRIUHelpers.cpp & criu.cpp;
Updated the class references and tests.

Signed-off-by: Jason Feng fengj@ca.ibm.com

@JasonFengJ9 JasonFengJ9 marked this pull request as draft November 8, 2023 13:33
@JasonFengJ9 JasonFengJ9 added comp:vm criu Used to track CRIU snapshot related work labels Nov 8, 2023
@JasonFengJ9
Copy link
Member Author

@tajila Could you provide some feedback for this WIP PR?

@JasonFengJ9 JasonFengJ9 force-pushed the criuapis branch 4 times, most recently from 6db10d2 to 653f380 Compare November 10, 2023 15:34
@JasonFengJ9 JasonFengJ9 marked this pull request as ready for review November 10, 2023 15:47
@JasonFengJ9 JasonFengJ9 force-pushed the criuapis branch 2 times, most recently from a7e84b7 to 3c08255 Compare November 13, 2023 13:23
@JasonFengJ9
Copy link
Member Author

@tajila This is ready for another look.

The CRIUSupport.checkpointJVM() can be invoked within java.base;
Moved openj9.criu/org.eclipse.openj9.criu.CRIUSupport checkpointJVM
related implementation into
java.base/openj9.internal.criu.InternalCRIUSupport, CRIUSupport APIs are
just wrappers of InternalCRIUSupport methods;
Moved J9InternalCheckpointHookAPI & SecurityProviders as well;
Duplicated CRIUDumpPermission & CRIU exception classes within
openj9.internal.criu;
Moved criusupport.cpp/hpp contents into CRIUHelpers.cpp & criu.cpp;
Updated the class references and tests.

Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@JasonFengJ9
Copy link
Member Author

Rebased to resolve the merging conflict.

@tajila
Copy link
Contributor

tajila commented Nov 30, 2023

jenkins test sanity zlinux jdk11

@tajila
Copy link
Contributor

tajila commented Nov 30, 2023

jenkins test sanity alinx64 jdk17

@tajila
Copy link
Contributor

tajila commented Nov 30, 2023

jenkins test sanity zlinux jdk21

@tajila
Copy link
Contributor

tajila commented Nov 30, 2023

jenkins test sanity alinux64 jdk17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm criu Used to track CRIU snapshot related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants