Optimize reset_memory to only kick in for low memory situations. (#37894)
authorPeter Sollich <petersol@microsoft.com>
Thu, 18 Jun 2020 12:29:19 +0000 (14:29 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Jun 2020 12:29:19 +0000 (14:29 +0200)
commit5d504c2fcf789ebcb01bd6c9d3e6f8d0868db76a
treef9f3a136f1cc61ed9e6a0bf3a037798cfcfeea3a
parentd939a2d6c3f47287c837192495fd9a1d950407a7
Optimize reset_memory to only kick in for low memory situations. (#37894)

This will save time both in VirtualReset and later in page faults.
src/coreclr/src/gc/gc.cpp