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 supports Java debugger via the restore option file #19754

Merged
merged 1 commit into from
Sep 18, 2024

Commits on Sep 17, 2024

  1. CRIU supports Java debugger via the restore option file

    Debugger support related code are guarded with
    isDebugOnRestoreEnabled();
    For -Xint mode, do not disable JVMTI capabilities required for JDWP
    debugger before checkpoint, add a capability can_access_local_variables;
    For JIT mode, add JVMTI capabilities required for JDWP debugger before
    checkpoint;
    Hooked J9HOOK_VM_PREPARING_FOR_RESTORE event to determine if a JDWP
    agent is specified in the restore option file, also hooked
    J9HOOK_VM_CRIU_RESTORE to load the agent libraries;
    Support -agentlib/-agentpath and -Xrunjdwp;
    Refactored the agent library creation from J9VMInitArgs;
    Added some trace points;
    Disable criu_jitPostRestore.xml failure conditions until the JIT PR is
    merged.
    
    Signed-off-by: Jason Feng <fengj@ca.ibm.com>
    JasonFengJ9 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    f812cad View commit details
    Browse the repository at this point in the history