Repository navigation
fix lower heap hard limit condition for regions - #76407
Conversation
|
Tagging subscribers to this area: @dotnet/gc Issue DetailsFixes #76199, where containers < 512mb were failing with E_OOM during GC initialization, since the check for
|
|
with the latest change, the lowest hard_limit possible is |
Maoni0
left a comment
There was a problem hiding this comment.
other than the nit above, it LGTM
|
The Hardware Instrinsics failure looks related to: #76280. Other PRs are failing with that same failure. Need to port to 7 hence merging. |
|
/backport to release/7.0 |
|
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3179565569 |
Fixes #76199, where containers < 512mb were failing with E_OOM during GC initialization, since the check for
region_size * heaps * 19 (various generations) < reservation sizewas failing.The logic is to now dynamically adjust region_size for smaller heap sizes. So for very small heap_hard_limits the region_size would be 1mb (instead of the default 4mb currently)