Skip to content

CRIU improves the error message when enabling JDWP agent post-restore - #23680

Merged
tajila merged 1 commit into
eclipse-openj9:masterfrom
JasonFengJ9:criujdwperrmsg
Apr 17, 2026
Merged

CRIU improves the error message when enabling JDWP agent post-restore#23680
tajila merged 1 commit into
eclipse-openj9:masterfrom
JasonFengJ9:criujdwperrmsg

Conversation

@JasonFengJ9

Copy link
Copy Markdown
Member

CRIU improves the error message when enabling JDWP agent post-restore

Provide the instruction that -XX:+DebugOnRestore is required pre-checkpoint to enable JDWP agent post-restore via the restore option file instead showing an error message "JVMJ9VM007E Command-line option unrecognised".

Signed-off-by: Jason Feng fengj@ca.ibm.com

@JasonFengJ9 JasonFengJ9 added comp:vm criu Used to track CRIU snapshot related work labels Apr 10, 2026
@JasonFengJ9
JasonFengJ9 requested a review from tajila April 10, 2026 17:22
@tajila

tajila commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

Can you please add a test case for this?

@JasonFengJ9

Copy link
Copy Markdown
Member Author

@tajila this is ready for another look.

@tajila

tajila commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

jenkins test sanity.functional alinux64 jdk21

@JasonFengJ9

Copy link
Copy Markdown
Member Author

The test failure occurred at test modes that are actually enabled with -XX:+DebugOnRestore, hence jdwp agent is loaded and caused timeout.
Will modify the test setup.

Provide the instruction that -XX:+DebugOnRestore is required
pre-checkpoint to enable JDWP agent post-restore via the restore option
file instead showing an error message "JVMJ9VM007E Command-line option
unrecognised";
Added a test.

Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@JasonFengJ9

Copy link
Copy Markdown
Member Author

Added -XX:-DebugOnRestore in the test xml file to fix the timeout in test modes with -XX:+DebugOnRestore.

@tajila

tajila commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

jenkins test sanity.functional alinux64 jdk21

@tajila
tajila merged commit 632c3eb into eclipse-openj9:master Apr 17, 2026
6 checks passed
@JasonFengJ9
JasonFengJ9 deleted the criujdwperrmsg branch April 17, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:vm criu Used to track CRIU snapshot related work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants