Skip to content
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

[release/8.0-rc2] [Mono]: Add missing case for constrained gsharedvt call. #92347

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 20, 2023

Backport of #92338 to release/8.0-rc2

/cc @lateralusX

Customer Impact

In running full aot tests on Windows, we noticed a missing case when handling constrained gsharedvt calls. This would result in asserts in a lot of library tests. The fix was to add a new value to the MonoRgctxInfoType enum and handle the case where it's hit.

Testing

Ran full aot automated tests and they now pass.

Risk

Low, adds a switch case which would assert otherwise.

1b788f4
added a new value to our MonoRgctxInfoType enum type, but appears
that all cases where not full adjusted. Running System.Buffers tests
in full AOT hits the assert in info_equal about missing case,
https://github.com/dotnet/runtime/blob/0dc5903679606b072adac70a268cdb77d1147b3e/src/mono/mono/mini/mini-generic-sharing.c#L2908.

This commit adds the new enum value and align handling similar to other cases added
by that commit.
@carlossanlop
Copy link
Member

This is targeting release/8.0, which represents RTM now. If you want this change to go into RC2, there is still time, so please retarget the PR to release/8.0-rc2. If you don't know, you can edit the PR title and change the desired target branch there.

For either case, please fill out the template, request Tactics approval, get a code review sign off, and confirm the CI looks good.

@vargaz vargaz changed the base branch from release/8.0 to release/8.0-rc2 September 20, 2023 16:39
@steveisok steveisok 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 Sep 20, 2023
@steveisok
Copy link
Member

Approved over email by tactics

@lateralusX lateralusX changed the title [release/8.0] [Mono]: Add missing case for constrained gsharedvt call. [release/8.0-rc2] [Mono]: Add missing case for constrained gsharedvt call. Sep 21, 2023
@carlossanlop carlossanlop added this to the 8.0.0 milestone Sep 21, 2023
@carlossanlop carlossanlop merged commit c4ea964 into release/8.0-rc2 Sep 21, 2023
108 of 113 checks passed
@jkotas jkotas deleted the backport/pr-92338-to-release/8.0 branch September 21, 2023 17:18
@radical radical mentioned this pull request Sep 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-meta-mono Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants