Skip to content

Commit

Permalink
decommit regions on huge free list in aggressive mode (#96513)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maoni0 authored Jan 5, 2024
1 parent 53400d0 commit 9325d38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13177,6 +13177,8 @@ void gc_heap::distribute_free_regions()
#endif //MULTIPLE_HEAPS
if (settings.reason == reason_induced_aggressive)
{
global_regions_to_decommit[huge_free_region].transfer_regions (&global_free_huge_regions);

#ifdef MULTIPLE_HEAPS
for (int i = 0; i < n_heaps; i++)
{
Expand Down

0 comments on commit 9325d38

Please sign in to comment.