Makes GetTotalAllocatedBytes monotonic in nonprecise case. (#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)
commit0bbac00d8344195da3c9ee60dad31d0036b7dec0
tree94f79735f21e5d7cc4b851861498d2a6e505dad6
parentb8d5b7b760f64d39e00554189ea0e5c66ed6bd62
Makes GetTotalAllocatedBytes monotonic in nonprecise case. (#24875)

* Makes GetTotalAllocatedBytes monotonic in nonprecise case.

Fixes:#24615

* read `dead_threads_non_alloc_bytes` atomically on 32bit platforms

* Update src/vm/comutilnative.cpp

Co-Authored-By: Jan Kotas <jkotas@microsoft.com>
src/vm/comutilnative.cpp