Skip to content

Commit

Permalink
Changes to reduce committed memory: (dotnet#65367)
Browse files Browse the repository at this point in the history
* Changes to reduce committed memory:
- Be more careful about estimating what is needed in the future
- Decommit regions that haven't been used in 20 GCs
- Keep regions sorted by decreasing commit size and increasing age
- Insturmentation enhancements

* Address code review feedback:
- optimize add_region_in_descending_order to search backwards if the region to be added is not fully committed
- adjust dprintf levels
- fix formatting issues
- made merge_sort_by_committed_and_age more efficient
- fix comment to use symbolic constant instead of number
- added new helper generation_start_segment_rw
  • Loading branch information
PeterSolMS authored Feb 24, 2022
1 parent 075a24d commit 1b75f42
Show file tree
Hide file tree
Showing 2 changed files with 419 additions and 45 deletions.
Loading

0 comments on commit 1b75f42

Please sign in to comment.