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

Fix trace format for MemorySubSpace #7381

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

amicic
Copy link
Contributor

@amicic amicic commented Jun 17, 2024

Various trace points use %llx (long long - 64bit) while it should use
%zx or %p (size_t - 32/64 bit) format to print MemorySubSpace addresses
and allocation result (address in heap), what would work both for 32bit
and 64bit VMs. Settling with %p, since it's already predominant.

@amicic amicic added the comp:gc label Jun 17, 2024
@amicic
Copy link
Contributor Author

amicic commented Jun 17, 2024

@dmitripivkine please, review

Various trace points use %llx (long long - 64bit) while it should use
%zx or %p (size_t - 32/64 bit) format to print MemorySubSpace addresses
and allocation result (address in heap), what would work both for 32bit
and 64bit VMs. Settling with %p, since it's already predominant.

Signed-off-by: Aleksandar Micic <[email protected]>
@amicic amicic force-pushed the fix_trace_format_MemeorySubSpace branch from 0b6c452 to de2d500 Compare June 17, 2024 18:27
@dmitripivkine
Copy link
Contributor

@babsingh Would you please help with merging?

@babsingh
Copy link
Contributor

jenkins build all

@babsingh babsingh merged commit 82912e4 into eclipse:master Jun 17, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants