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

Generate checks for all callers in OffHeap when inlining Unsafe.CAS #20134

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

rmnattas
Copy link
Contributor

@rmnattas rmnattas commented Sep 9, 2024

When inlining Unsafe.compareAndSwap (compareAndSet) while using OffHeap ignore the special callers cases which skips generating checks for inlining.

The special callers require OffHeap array checks but no low-tag checks, the different treatment of that will be coded into createUnsafeCASCallDiamond later on.

When inlining `Unsafe.compareAndSwap` (`compareAndSet`) while using
OffHeap ignore the special callers cases which skips generating
checks for inlining.

The special callers require OffHeap array checks but no low-tag
checks, the different treatment of that will be coded into
`createUnsafeCASCallDiamond` later on.

Signed-off-by: Abdulrahman Alattas <rmnattas@gmail.com>
@rmnattas
Copy link
Contributor Author

rmnattas commented Sep 9, 2024

@zl-wang
Copy link
Contributor

zl-wang commented Sep 10, 2024

tested as above ... we can ignore the timeout failure. merging ...

@zl-wang zl-wang merged commit 4fbb964 into eclipse-openj9:master Sep 10, 2024
2 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.

2 participants