Skip to content

[GR-63262] SVM Serial: Emit imprecise write barriers for arrays in aligned heap chunks #11008

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
Apr 8, 2025

Conversation

graalvmbot
Copy link
Collaborator

Hi,

This patch tries to reason about the alignment of the heap chunk an array belongs to by looking at its size. If the size of the array is smaller than a certain threshold then we can be sure that it is allocated in an aligned chunk and does not need to branch on it at runtime. This is especially helpful for static accesses since they are contained in an Object[].

Please take a look and leave your reviews, thanks a lot.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 8, 2025
@graalvmbot graalvmbot closed this Apr 8, 2025
@graalvmbot graalvmbot deleted the qam/arraychunkaligned branch April 8, 2025 23:24
@graalvmbot graalvmbot merged commit 7facd03 into master Apr 8, 2025
3 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants