Skip to content

[release/6.0] In reset_memory, check settings.entry_memory_load ... - #58543

Merged
jeffschwMSFT merged 3 commits into
release/6.0from
backport/pr-58350-to-release/6.0
Sep 2, 2021
Merged

[release/6.0] In reset_memory, check settings.entry_memory_load ...#58543
jeffschwMSFT merged 3 commits into
release/6.0from
backport/pr-58350-to-release/6.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Sep 2, 2021

Copy link
Copy Markdown
Contributor

Backport of #58350 to release/6.0

/cc @PeterSolMS

Customer Impact

We had introduced to not reset large free blocks in .NET Core 5.0, unless memory usage is high. Unfortunately, the detection of high memory usage does not work correctly on Linux - this change fixes it. This change also refactors similar logic for decommitting parts of regions into a common helper method.

Testing

Verified that the change works correctly in the debugger.

Risk

Low - this is more of a tuning change.

@ghostghost added the area-GC-coreclr label Sep 2, 2021
@ghost

ghost commented Sep 2, 2021

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #58350 to release/6.0

/cc @PeterSolMS

Customer Impact

Testing

Risk

Author:github-actions[bot]
Assignees:-
Labels:

area-GC-coreclr

Milestone:-

@jeffschwMSFTjeffschwMSFT left a comment

Copy link
Copy Markdown
Member

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 then we can merge.

@Maoni0Maoni0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@jeffschwMSFT
jeffschwMSFT merged commit af90ed6 into release/6.0Sep 2, 2021
@hoyosjs
hoyosjs deleted the backport/pr-58350-to-release/6.0 branch September 2, 2021 22:39
@ghostghost locked as resolved and limited conversation to collaborators Oct 2, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jeffschwMSFT@Maoni0@PeterSolMS