Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 27, 2022

Backport of #77554 to release/7.0

/cc @AaronRobinsonMSFT

Customer Impact

This is a customer reported issue - #76350. The leak was introduced in .NET Core 3.1 and has gone unreported since then. This is specifically for the IReflect scenario, which is mostly related to class IDispatch COM interop scenarios.

Although this impacts previous .NET runtimes, the OP has created a workaround and is not specifically asking for fixes prior to .NET 7.

Testing

Manually validated the user scenario and made the surrounding code easier to reason about. Validation was done using the Visual Studio Diagnostic tools for memory allocations.

Risk

Limited. This is for a relatively uncommon .NET Core scenario. The issue has existed since .NET Core 3.1 without being reported and the fix is scoped to only impact that particular scenario.

This is a regression from NETFX with the introduction
of collectable assemblies in .NET Core 3.1 (dotnet/coreclr#20919).
@ghost ghost added the area-VM-coreclr label Oct 27, 2022
@AaronRobinsonMSFT AaronRobinsonMSFT added the Servicing-consider Issue for next servicing release review label Oct 27, 2022
@AaronRobinsonMSFT AaronRobinsonMSFT added this to the 7.0.x milestone Oct 27, 2022
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

approved. please get a code review and we will take for consideration in 7.0.x

@jeffschwMSFT jeffschwMSFT added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Nov 1, 2022
@jeffschwMSFT jeffschwMSFT modified the milestones: 7.0.x, 7.0.1 Nov 1, 2022
@carlossanlop
Copy link
Contributor

Approved by Tactics. Signed off. No OOB package authoring changes needed.
The 4 CI failures were some JIT tests, 2 of which got dead-lettered, and 2 finished successfully, yet were reported as failed. I'm re-running the leg. Once it's done, if nothing concerning arises, I'll merge.

@carlossanlop
Copy link
Contributor

CI green.

@carlossanlop carlossanlop merged commit 4ecef5f into release/7.0 Nov 3, 2022
@carlossanlop carlossanlop deleted the backport/pr-77554-to-release/7.0 branch November 3, 2022 21:25
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-coreclr Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants