Skip to content

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

Merged
carlossanlop merged 1 commit into
release/7.0from
backport/pr-74325-to-release/7.0
Aug 24, 2022
Merged

[release/7.0] Fix write barriers in NativeAOT#74455
carlossanlop merged 1 commit into
release/7.0from
backport/pr-74325-to-release/7.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Aug 23, 2022

Copy link
Copy Markdown
Contributor

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).

@jeffschwMSFTjeffschwMSFT left a comment

Copy link
Copy Markdown
Member

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.

@carlossanlopcarlossanlop left a comment

Copy link
Copy Markdown
Contributor

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.0Aug 24, 2022
@carlossanlop
carlossanlop deleted the backport/pr-74325-to-release/7.0 branch August 24, 2022 15:36
@ghostghost locked as resolved and limited conversation to collaborators Sep 23, 2022
Sign up for freeto 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

@carlossanlop@jeffschwMSFT@AntonLapounov