ibmruntimes / openj9-openjdk-jdk11

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

(v0.48.0) CRIU supports Java debugger during checkpoint and restore #804

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

pshipton commented 2 weeks ago

The change is already pushed forward, I just hadn't done it yet.

pshipton commented 2 weeks ago

Pls don't double deliver to 0.48 openjdk versions, usually until M2 we push everything forward.