Skip to content

Commit

Permalink
Use the right bucket for committing mark array
Browse files Browse the repository at this point in the history
  • Loading branch information
cshung committed Aug 9, 2024
1 parent 399b218 commit d0ec815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9594,7 +9594,7 @@ int gc_heap::grow_brick_card_tables (uint8_t* start,
// in case of background gc, the mark array will be committed separately (per segment).
size_t commit_size = card_table_element_layout[seg_mapping_table_element + 1];

if (!virtual_commit (mem, commit_size, recorded_committed_bookkeeping_bucket))
if (!virtual_commit (mem, commit_size, recorded_committed_mark_array_bucket))
{
dprintf (GC_TABLE_LOG, ("Table commit failed"));
set_fgm_result (fgm_commit_table, commit_size, uoh_p);
Expand Down

0 comments on commit d0ec815

Please sign in to comment.