未验证 提交 b06ab8cb 编写于 作者: M Maoni Stephens 提交者: GitHub

sip fix (#74298)

Co-authored-by: NMaoni0 <maoni@microsoft.com>
上级 8b25e317
......@@ -31599,9 +31599,12 @@ void gc_heap::sweep_region_in_plan (heap_segment* region,
heap_segment_plan_allocated (region) = heap_segment_allocated (region);
int plan_gen_num = heap_segment_plan_gen_num (region);
generation_allocation_size (generation_of (plan_gen_num)) += heap_segment_survived (region);
dprintf (REGIONS_LOG, ("sip: g%d alloc size is now %Id", plan_gen_num,
generation_allocation_size (generation_of (plan_gen_num))));
if (plan_gen_num < heap_segment_gen_num (region))
{
generation_allocation_size (generation_of (plan_gen_num)) += heap_segment_survived (region);
dprintf (REGIONS_LOG, ("sip: g%d alloc size is now %Id", plan_gen_num,
generation_allocation_size (generation_of (plan_gen_num))));
}
}
inline
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册