You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The debug interpreter was added here, #17245, to do
Enable support for hooks (needed for xtrace and xdump)
Allow one to avoid using the debug interpreter at starup
Now that we have the ability to transition to the debug interpreter on restore, we no longer need the criu interpreter. Instead we can start with the standard interpreter, and transition to the debug interpreter if needed.
Steps
Add a new field in J9CRIUCheckpointState called debugInterpreterRequested
The hooks for criuRestoreInitializeTrace and criuRestoreInitializeDump set the debugInterpreterRequested to true
In checkTransitionToDebugInterpreter check if debugInterpreterRequested is set then attempt to transition to the debug interpreter.
Add a new restore hook (similar to the ones above) and take the code in checkTransitionToDebugInterpreter that looks for the VMOPT_XXDEBUGINTERPRETER and move it to that function. It should set the debugInterpreterRequested if debug interpreter is there.
Move checkTransitionToDebugInterpreter to after runInternalJVMRestoreHooks
The text was updated successfully, but these errors were encountered:
The debug interpreter was added here, #17245, to do
Now that we have the ability to transition to the debug interpreter on restore, we no longer need the criu interpreter. Instead we can start with the standard interpreter, and transition to the debug interpreter if needed.
Steps
J9CRIUCheckpointState
called debugInterpreterRequestedcriuRestoreInitializeTrace
andcriuRestoreInitializeDump
set thedebugInterpreterRequested
to truecheckTransitionToDebugInterpreter
check if debugInterpreterRequested is set then attempt to transition to the debug interpreter.checkTransitionToDebugInterpreter
that looks for theVMOPT_XXDEBUGINTERPRETER
and move it to that function. It should set thedebugInterpreterRequested
if debug interpreter is there.checkTransitionToDebugInterpreter
to afterrunInternalJVMRestoreHooks
The text was updated successfully, but these errors were encountered: