Fix assert failure in grow_heap_segment in no GC region. (#86644)
authorPeter Sollich <petersol@microsoft.com>
Tue, 23 May 2023 16:37:03 +0000 (18:37 +0200)
committerGitHub <noreply@github.com>
Tue, 23 May 2023 16:37:03 +0000 (18:37 +0200)
commit927b6bd164271b9a3203dd8b4d9028654d3f2c63
tree8d56e48c87d6e66faed89d6589880c68536bf1dc
parentf6f7d89b99f64d86ceb8cca385a487f825f41007
Fix assert failure in grow_heap_segment in no GC region. (#86644)

This addresses issue #86612.

We won't actually decommit anything once we enter a no GC region, so the assert was overeager for this case, but it seems better to keep the assert and turn off the gradual_decommit_in_progress_p flag when we enter a no GC region.
src/coreclr/gc/gc.cpp