[release/9.0-staging][mono][gc] Fix gc descriptor computation for InlineArray structs by BrzVlad · Pull Request #116951 · dotnet/runtime
`compute_class_bitmap` iterates over all ref field slots in the current class so we can produce a GC descriptor. `field_iter` represents how many times the type in question is repeated in the current struct. Instead of bumping the current offset by the size of the repeated field, for each iteration, we were adding `field_offset` which is wrong.
AI review requested due to automatic review settings
June 24, 2025 06:44This was referenced
Aug 5, 2025This was referenced
Aug 7, 2025This 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