CRIU supports Java debugger during checkpoint and restore
Added support for a VM_RESTOREJVMTI event;
Added command line option suspendOnRestore=[y|n] to determine if the VM restored from a checkpoint is to be suspended;
-agentlib:jdwp=transport=dt_socket,server=y,suspend=[y|n] assumes suspendOnRestore=y;
Always respect suspendOnRestore=n regardless the order of suspend and suspendOnRestore, both
-agentlib:jdwp=transport=dt_socket,server=y,suspendOnRestore=n,suspend=y and -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,suspendOnRestore=n don't suspend the JVM post-restore.
CRIU supports Java debugger during checkpoint and restore
Added support for a
VM_RESTORE
JVMTI
event; Added command line optionsuspendOnRestore=[y|n]
to determine if the VM restored from a checkpoint is to be suspended;-agentlib:jdwp=transport=dt_socket,server=y,suspend=[y|n]
assumessuspendOnRestore=y
; Always respectsuspendOnRestore=n
regardless the order ofsuspend
andsuspendOnRestore
, both-agentlib:jdwp=transport=dt_socket,server=y,suspendOnRestore=n,suspend=y
and-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,suspendOnRestore=n
don't suspend the JVM post-restore.Cherry-pick
Signed-off-by: Mike Zhang mike.h.zhang@ibm.com Signed-off-by: Jason Feng fengj@ca.ibm.com