Skip to content
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

WIP: Print actual string arguments with -Xtrace (part 2) #20662

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

h3110n3rv3
Copy link
Contributor

@h3110n3rv3 h3110n3rv3 commented Nov 21, 2024

The changes reflect the feature request #16416.

Adding cmdline option to specify string argument length.
-Xtrace:methodstrarglen=[1-128]
methodStrArgLen takes an unsigned integer value from 1 to 128
If methodStrArgLen = 0 or unspecified, default to address printing.
Other invalid inputs result in the input error.

There will be subsequent PR for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

@h3110n3rv3 h3110n3rv3 changed the title Feature request: Print actual String arguments with Xtrace part 1 Feature request: Print actual String arguments with Xtrace part 2 Nov 21, 2024
@h3110n3rv3
Copy link
Contributor Author

@TobiAjila could you please review for comments/concerns/feedback? Thanks

@h3110n3rv3 h3110n3rv3 changed the title Feature request: Print actual String arguments with Xtrace part 2 WIP: Feature request: Print actual String arguments with Xtrace part 2 Nov 21, 2024
@h3110n3rv3 h3110n3rv3 changed the title WIP: Feature request: Print actual String arguments with Xtrace part 2 WIP: Print actual String arguments with Xtrace part 2 Nov 25, 2024
@h3110n3rv3 h3110n3rv3 changed the title WIP: Print actual String arguments with Xtrace part 2 WIP: Print actual string arguments with -Xtrace (part 2) Nov 28, 2024
@h3110n3rv3 h3110n3rv3 force-pushed the Feature-request-16416-part2 branch 2 times, most recently from 1095ae8 to 8606fa4 Compare November 28, 2024 12:54
The changes reflect the feature request eclipse-openj9#16416.

Adding cmdline option to specify string argument length.
-Xtrace:methodstrarglen=[1-128]
methodStrArgLen takes an unsigned integer value from 1 to 128
If methodStrArgLen = 0 or unspecified, default to 32.
Other invalid inputs result in the input error.

There will be subsequent PR for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>
The changes reflect the feature request eclipse-openj9#16416.

Adding cmdline option to specify string argument length.
-Xtrace:methodstrarglen=[1-128]
methodStrArgLen takes an unsigned integer value from 1 to 128
If methodStrArgLen = 0 or unspecified, default to 32.
Other invalid inputs result in the input error.

There will be subsequent PR for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>
The changes reflect the feature request eclipse-openj9#16416.

Adding cmdline option to specify string argument length.
-Xtrace:methodstrarglen=[1-128]
methodStrArgLen takes an unsigned integer value from 1 to 128
If methodStrArgLen = 0 or unspecified, default to 32.
Other invalid inputs result in the input error.

There will be subsequent PR for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>
if argument == 0 default to address printing
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.

2 participants