Skip to content

Conversation

@AaronRobinsonMSFT
Copy link
Member

During the GcScanRoots routine we were indicating a TypedReference was passed by reference to all managed callers. This means that it would be tracked incorrectly across managed method calls.

Related #71675

Fixes #71890

/cc @jkotas @davidwrighton

AaronRobinsonMSFT and others added 2 commits July 12, 2022 14:14
Details in siginfo.cpp were stale.
Add some logging that helped track down the issue.
…yAnalysis/ReadyToRun/GCRefMapBuilder.cs

Co-authored-by: Aaron Robinson <[email protected]>
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you!

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit eb170a0 into dotnet:main Jul 13, 2022
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the runtime_71890 branch July 13, 2022 04:46
@ghost ghost locked as resolved and limited conversation to collaborators Aug 12, 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.

Test SetValueDirect_GetValueDirectRoundDataTest failed: Expected 222; Actual -1

2 participants