Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Decommit mark array when decommitting region
  • Loading branch information
cshung committed Dec 22, 2022
commit 857e3b3ec88fd609c80024e6e62523460f97b950
6 changes: 6 additions & 0 deletions src/coreclr/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41072,6 +41072,12 @@ bool gc_heap::decommit_step (uint64_t step_milliseconds)
if (!use_large_pages_p)
{
decommit_succeeded_p = virtual_decommit(page_start, size, recorded_committed_free_bucket);
#ifdef MULTIPLE_HEAPS
gc_heap* hp = heap_segment_heap (region);
#else
gc_heap* hp = __this;
#endif
hp->decommit_mark_array_by_seg (region);
dprintf(REGIONS_LOG, ("decommitted region %p(%p-%p) (%zu bytes) - success: %d",
region,
page_start,
Expand Down