From d0ec8154ee2d7423dfce735c720c804f5a5ef035 Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Fri, 9 Aug 2024 15:11:19 -0700 Subject: [PATCH] Use the right bucket for committing mark array --- src/coreclr/gc/gc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/gc/gc.cpp b/src/coreclr/gc/gc.cpp index 230a914732ea9..577cef531d9ad 100644 --- a/src/coreclr/gc/gc.cpp +++ b/src/coreclr/gc/gc.cpp @@ -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);