[sgen] Don't trigger concurrent collections if we exceed soft heap limit (#12536)
commitad7cb105ecdd410b8046a6b5f8b5542b9f081026
authorVlad Brezae <brezaevlad@gmail.com>
Tue, 22 Jan 2019 16:13:38 +0000 (22 18:13 +0200)
committerLudovic Henry <luhenry@microsoft.com>
Tue, 22 Jan 2019 16:13:38 +0000 (22 11:13 -0500)
treed37b932e9006a2c5d2de9a7d4b6613fd6db2eeb6
parent6bcd623e7c7d273f578d3680aca9680521d71311
[sgen] Don't trigger concurrent collections if we exceed soft heap limit (#12536)

Concurrent gc (mark / sweep) allows the heap to grow further, which is not what we want if we already exceeded the limit.
mono/sgen/sgen-alloc.c
mono/sgen/sgen-gc.c
mono/sgen/sgen-memory-governor.c
mono/sgen/sgen-memory-governor.h