-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix layout and GCInfo for ByRef fields. #64422
Fix layout and GCInfo for ByRef fields. #64422
Conversation
Tangentially related to the topic of GC holes, is there a similar problem in Found that one by accident when I wanted to point you to #12842 (that we should also do for byref fields due to GC tracking). Sorry for dumping tangentially related stuff on this pull request - it should have probably gone to #63985. |
@MichalStrehovsky That is exactly what I've been doing for the past 40 minutes. I agree there are some issues here. Based on my searching, I think
Agree. |
Update tests to use recursion and validate GCStress scenarios.
f155671
to
6911ce6
Compare
- This was missed in the initial support for ref fields.
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
@MichalStrehovsky I am checking this in now since it is impacting the outer loop tests. Please still give it a once over in case there is something else I'm not considering. |
Looks good! I filed #64520 for one of the tangentially related issues. |
Update tests to use recursion and validate GCStress scenarios.
Related NativeAOT/CrossGen2 change - #64366
Fixes #64465
Fixes #64466
/cc @MichalStrehovsky @dotnet/interop-contrib