FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[release/9.0-staging] [mono][sgen] Add separate card mark function to be used with debug by github-actions[bot] · Pull Request #110268 · dotnet/runtime · GitHub

Repository navigation

[release/9.0-staging] [mono][sgen] Add separate card mark function to be used with debug - #110268

Merged
BrzVlad merged 2 commits into
release/9.0-stagingfrom
backport/pr-109698-to-release/9.0-staging
Jan 12, 2025
Merged

BrzVlad merged 2 commits into
release/9.0-stagingfrom
backport/pr-109698-to-release/9.0-staging

Conversation

github-actions Bot commented Nov 29, 2024 •
edited by BrzVlad
Loading

Copy link
Copy Markdown
Contributor

Backport of #109698 to release/9.0-staging

/cc @BrzVlad

Customer Impact

There are existing GC related crashes in the wild, that are currently impossible to investigate. A debug option that might assist this is MONO_GC_DEBUG=check-remset-consistency, however a customer reported that this option reports false positives. This PR fixes these false positives, hopefully assisting in the investigation of aforementioned GC crashes.

Regression

No.

Testing

Manual testing locally.

Risk

Low. This change has no impact unless a certain debug flag is passed, flag which is used for the sole purpose of tracking down GC crashes.

When marking cards for a non-array object or a an element vt in an object, it is enough to mark a card for any address within that object/vt because they are always fully scanned. Cardtable consistency checks are not accounting for this detail and it is difficult to have it implemented. Instead, when having such debug flags enabled, we use an explicit approach where every single card is being marked.
ghost added the area-GC-mono label Nov 29, 2024
BrzVlad added Servicing-consider Issue for next servicing release review Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Dec 2, 2024

Copy link
Copy Markdown
Member

@BrzVlad please take a look at the PR failures and merge when ready

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-GC-mono Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL