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

Downgrade isIndexableDataAddrPresent to U_32 #20819

Merged

Conversation

amicic
Copy link
Contributor

@amicic amicic commented Dec 11, 2024

Effectively this was used as a BOOLEAN (which is typedef of U_32/I_32), but being UDATA just taking more space than necessary on 64bit platforms.

Thus compiler will be able to better pack 2 consecutive boolean fields (isIndexableDataAddrPresent and isVirtualLargeObjectHeapEnabled)

Using U_32 rather than BOOLEAN to be able to consistently update DDR code (which seems not to use BOOLEAN)

Effectively this was used as a BOOLEAN (which is typedef of U_32/I_32),
but being UDATA just taking more space than necessary on 64bit
platforms.

Thus compiler will be able to better pack 2 consecutive boolean fields
(isIndexableDataAddrPresent and isVirtualLargeObjectHeapEnabled)

Using U_32 rather than BOOLEAN to be able to consistently update DDR
code (which seems not to use BOOLEAN)

Signed-off-by: Aleksandar Micic <[email protected]>
@amicic
Copy link
Contributor Author

amicic commented Dec 11, 2024

jenkins compile all jdk21

@pshipton
Copy link
Member

Pls pass it by a vmfarm build.

@dmitripivkine dmitripivkine merged commit 30b5e75 into eclipse-openj9:master Dec 11, 2024
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants