-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[ARM64] Add g_GCShadowEnd to JIT_WriteBarrier_Table #91342
Conversation
This change moves address of g_GCShadowEnd to JIT_WriteBarrier_Table like others variables used in Write Barrier. This fix simmilar to RISC-V one dotnet#90036
src/coreclr/vm/arm64/asmhelpers.asm
Outdated
wbs_GCShadow | ||
DCQ 0 | ||
wbs_GCShadowEnd | ||
DCQ 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please move wbs_GCShadow
and wbs_GCShadowEnd
to the end of the wbs block? These are debug-only fields, having them at the end would be a tiny bit better for cache locality.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jkotas moved to the end of the wbs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for doing this work!
Build errors:
|
This change moves address of g_GCShadowEnd to JIT_WriteBarrier_Table like others variables used in Write Barrier.
This fix simmilar to RISC-V one #90036
cc @jakobbotsch @Maoni0 @wscho77 @HJLeee @JongHeonChoi @t-mustafin @clamp03 @gbalykov @tomeksowi