Skip to content

Display ignored -Xjit and -Xaot args in IGNOREDARGS list #19990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

luke-li-2003
Copy link
Contributor

The -Xjit and -Xaot args being ignored because there are multiple -Xjit or -Xaot arguments (only the last one will be considered), or because there exists -Xnojit, -Xnoaot, or -Xint (ignores the arguments before the in the command line option) will be displayed in the IGNOREDARGS list during the core dump.

Fixes #19742

@mpirvu mpirvu self-assigned this Aug 13, 2024
Copy link
Contributor

@mpirvu mpirvu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. Please see my inline comments.

@mpirvu
Copy link
Contributor

mpirvu commented Aug 13, 2024

@keithc-ca Could you please review this PR too since it modifies VM files? Thanks

Copy link
Contributor

@mpirvu mpirvu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Waiting for @keithc-ca approval

Copy link
Contributor

@keithc-ca keithc-ca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the code should be reorganized so ignored options are printed in the same order they're specified on the command line. I expect that means the first new loop must be inserted before the existing loop, and the work of the second new loop must be merged into the existing loop.

@luke-li-2003 luke-li-2003 force-pushed the DumpIgnoredArgs branch 3 times, most recently from c8f4627 to 878b92d Compare August 14, 2024 17:56
Copy link
Contributor

@keithc-ca keithc-ca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My comment about printing ignored options in command-line order remains.

@luke-li-2003
Copy link
Contributor Author

All the comments should have been addressed now

@luke-li-2003 luke-li-2003 force-pushed the DumpIgnoredArgs branch 2 times, most recently from e68c926 to ef53004 Compare August 15, 2024 20:29
@luke-li-2003
Copy link
Contributor Author

All the comments should have been addressed now

@keithc-ca
Copy link
Contributor

Please address the failure of the line endings check.

@luke-li-2003
Copy link
Contributor Author

Trailing whitespace removed

@keithc-ca
Copy link
Contributor

Jenkins test sanity amac jdk17

@keithc-ca keithc-ca merged commit f06ea27 into eclipse-openj9:master Aug 16, 2024
5 checks passed
@luke-li-2003 luke-li-2003 deleted the DumpIgnoredArgs branch October 25, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ignored Xjit args do not show up in the IGNOREDARGS list
3 participants