Uh oh!
There was an error while loading. Please reload this page.
Ensure end_gen0_region_space is always computed - #76214
Conversation
ghost
commented
Sep 26, 2022
Tagging subscribers to this area: @dotnet/gc Issue DetailsFor various reasons, it is possible that the GC skips the computation of That would lead to bad downstream consequences, for example, in This PR ensures the field
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
275c603 to
4f7bd66Compare4f7bd66 to
416bae1Compare
For various reasons, it is possible that the GC skips the computation of
end_gen0_region_space. For example, if we decided to compact but we never calleddecide_on_compaction_space, we will leave theend_gen0_region_spaceunchanged from its initial value 0.That would lead to bad downstream consequences, for example, in
short_on_end_of_seg, theend_gen0_region_spaceis used to decide whether or not we can satisfy an allocation request or not, having a 0 there will fail the allocation.This PR ensures the field
end_gen0_region_spaceis always computed during a GC.