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

[release/7.0] Fix write barriers in NativeAOT #74455

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 23, 2022

Backport of #74325 to release/7.0

/cc @AntonLapounov

Customer Impact

The server GC mode for NativeAOT-compiled apps is broken on Linux and Windows ARM64 due to write barriers never updating the card table. Applications crash at random places. In particular, that affects our own crossgen2 compiler.

Testing

Risk

The changes in this PR are effectively ARM64 only. The rest is either under #ifdef WRITE_BARRIER_CHECK, which is not defined by official builds, or for architectures we do not support at present (x86, ARM32).

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved. We can merge once we have a green ci.

Copy link
Member

@carlossanlop carlossanlop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved and signed off.
CI is green.
Ready to merge. :shipit:

@carlossanlop carlossanlop merged commit 13876e9 into release/7.0 Aug 24, 2022
@carlossanlop carlossanlop deleted the backport/pr-74325-to-release/7.0 branch August 24, 2022 15:36
@ghost ghost locked as resolved and limited conversation to collaborators Sep 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants