[Local GC] Move handle creation/deletion profiler callbacks out of the GC (dotnet...
authorSean Gillespie <segilles@microsoft.com>
Tue, 20 Jun 2017 22:24:05 +0000 (15:24 -0700)
committerGitHub <noreply@github.com>
Tue, 20 Jun 2017 22:24:05 +0000 (15:24 -0700)
commita5742c2655fa3dd75963600386e788f35ba2b5a1
tree38e17c78be20555d2d2b42185af4e0a584351323
parentc86376dfac8780a07bd9a836d528e9db5db36453
[Local GC] Move handle creation/deletion profiler callbacks out of the GC (dotnet/coreclr#12314)

* [Local GC] Move handle creation and handle destruction profiler
callbacks out of the GC

* Remove dead code

* Move some handle-related code out of gcheaputilities.cpp and into gchandleutilities.cpp

* Address code review feedback, remove some more dead code and add some style fixes

* Refactor handle creation and destruction helpers to go through a common function

Commit migrated from https://github.com/dotnet/coreclr/commit/e7725a6ff986879f8ff2fd9e09ab636545ba7bca
src/coreclr/src/gc/handletable.cpp
src/coreclr/src/gc/handletable.h
src/coreclr/src/vm/CMakeLists.txt
src/coreclr/src/vm/gchandleutilities.cpp [new file with mode: 0644]
src/coreclr/src/vm/gchandleutilities.h
src/coreclr/src/vm/gcheaputilities.cpp