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

AArch64: Improve JIT code for spin lock #20247

Open
knn-k opened this issue Sep 27, 2024 · 0 comments
Open

AArch64: Improve JIT code for spin lock #20247

knn-k opened this issue Sep 27, 2024 · 0 comments

Comments

@knn-k
Copy link
Contributor

knn-k commented Sep 27, 2024

AArch64 JIT generates instruction sequence of releasing VM access using dmb, ldxr, and stxr.

void J9::ARM64::JNILinkage::releaseVMAccess(TR::Node *callNode, TR::Register *vmThreadReg, TR::Register *scratchReg0, TR::Register *scratchReg1, TR::Register *scratchReg2, TR::Register *scratchReg3)

The instruction sequence may be improved by using Load-Acquire instructions, as discussed in #20188 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant