ibmruntimes / openj9-openjdk-jdk17

Extensions for OpenJDK 17 for Eclipse OpenJ9
GNU General Public License v2.0
23 stars 53 forks source link

CRIU supports Java debugger during checkpoint and restore #377

Closed JasonFengJ9 closed 2 weeks ago

JasonFengJ9 commented 2 weeks 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 weeks ago

Jenkins test sanity xlinux jdk17