Makes GetTotalAllocatedBytes monotonic in nonprecise case. (dotnet/coreclr#24875)
authorVladimir Sadov <vsadov@microsoft.com>
Fri, 31 May 2019 14:45:03 +0000 (07:45 -0700)
committerGitHub <noreply@github.com>
Fri, 31 May 2019 14:45:03 +0000 (07:45 -0700)
commitd646dffbc73b76ca609be19c6f9bdbded0942525
tree2bddc29e47ec75d57af90ff06c48ec3c2e0d7033
parentb171474b98403929ce32e3f8609078f75abf8e08
Makes GetTotalAllocatedBytes monotonic in nonprecise case. (dotnet/coreclr#24875)

* Makes GetTotalAllocatedBytes monotonic in nonprecise case.

Fixes:dotnet/coreclr#24615

* read `dead_threads_non_alloc_bytes` atomically on 32bit platforms

* Update src/vm/comutilnative.cpp

Co-Authored-By: Jan Kotas <jkotas@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/0bbac00d8344195da3c9ee60dad31d0036b7dec0
src/coreclr/src/vm/comutilnative.cpp