ibmruntimes / openj9-openjdk-jdk11

Extensions for OpenJDK 11 for Eclipse OpenJ9
GNU General Public License v2.0
31 stars 112 forks source link

CRIU supports Java debugger during checkpoint and restore #803

Closed JasonFengJ9 closed 2 months ago

JasonFengJ9 commented 2 months ago

CRIU supports Java debugger during checkpoint and restore

Added support for a VM_RESTORE JVMTI 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.

Cherry-pick

Signed-off-by: Mike Zhang mike.h.zhang@ibm.com Signed-off-by: Jason Feng fengj@ca.ibm.com

keithc-ca commented 2 months ago

Jenkins test sanity plinux jdk11