-
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
[release/7.0] Decommit memory before returning to the region_allocator #81295
[release/7.0] Decommit memory before returning to the region_allocator #81295
Conversation
Tagging subscribers to this area: @dotnet/gc Issue Detailsnull
|
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.
approved. we will take for consideration in 7.0.x
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.
Looks good to me!
Backport of #80640 to release/7.0
/cc @cshung
Customer Impact
As customers reported in #79882, newly created arrays might not be zero-initialized, this violates our guarantees. Turn out this has to do with some of our low memory condition processing. After the fix, the arrays will always be zero-initialized.
Testing
This is tested under reliability framework stress test for both server and workstation. It is also tested against the ASP.NET benchmarks.
Risk
Low, given extensive testing.
IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.