Historam: doesn't allocate additional memory to store counts
authorKonstantin Baladurin <k.baladurin@partner.samsung.com>
Wed, 14 Feb 2018 07:46:19 +0000 (10:46 +0300)
committerKonstantin Baladurin <k.baladurin@partner.samsung.com>
Wed, 14 Feb 2018 14:21:48 +0000 (17:21 +0300)
commit561cffae9989148fb77823c5d1e228346624217d
tree38da60e413561c866ecde3aa2d6df5ddadd54de1
parent330d8a9b6d778d0b004b2fedc0caccad43339843
Historam: doesn't allocate additional memory to store counts

It allows to remove deallocation in destuctor that can lead to uaf
for static Historgam's objects during shutdown.

Commit migrated from https://github.com/dotnet/coreclr/commit/a14840ebeb1f7a76b8d957eb39f63eef0250a872
src/coreclr/src/jit/compiler.cpp
src/coreclr/src/jit/emit.cpp
src/coreclr/src/jit/jit.h
src/coreclr/src/jit/utils.cpp