Skip to content

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

Merged
zl-wang merged 1 commit into
eclipse-openj9:masterfrom
rmnattas:off-heap-cas
Sep 10, 2024
Merged

Generate checks for all callers in OffHeap when inlining Unsafe.CAS#20134
zl-wang merged 1 commit into
eclipse-openj9:masterfrom
rmnattas:off-heap-cas

Conversation

@rmnattas

@rmnattas rmnattas commented Sep 9, 2024

Copy link
Copy Markdown
Contributor

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

rmnattas commented Sep 9, 2024

Copy link
Copy Markdown
Contributor Author

@zl-wang

zl-wang commented Sep 10, 2024

Copy link
Copy Markdown
Contributor

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

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