-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 reporting GC fields from base types #111011
Conversation
Fixes dotnet#110836. When we extended managed CorInfoImpl to support object stack allocation in dotnet#104411, there was one more spot that assumed valuetypes only in `GatherClassGCLayout` that we missed. This resulted in not reporting any GC pointers in base types.
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.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Could you please also fix the comment at runtime/src/coreclr/inc/corinfo.h Line 2380 in 6045e29
getHeapClassSize for those.
|
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.
Thank you for coming up with a fix for this!
/ba-g timeouts in macos legs after a comment only change (previous run was green) |
Backport candidate? |
/backport to release/9.0-staging |
Started backporting to release/9.0-staging: https://github.com/dotnet/runtime/actions/runs/12588764932 |
Fixes #110836.
When we extended managed CorInfoImpl to support object stack allocation in #104411, there was one more spot that assumed valuetypes only in
GatherClassGCLayout
that we missed. This resulted in not reporting any GC pointers in base types.Cc @dotnet/ilc-contrib