Remove most uses of RuntimeTypeHandle.Allocate (#45085)
authorLevi Broderick <GrabYourPitchforks@users.noreply.github.com>
Mon, 23 Nov 2020 23:53:09 +0000 (15:53 -0800)
committerGitHub <noreply@github.com>
Mon, 23 Nov 2020 23:53:09 +0000 (15:53 -0800)
commit3f8966546a09ec104ca958eab20a22463907fed1
tree114204fe7e75cf770167f71cf7cbede16cdadb0f
parent202f6e1deede57ad127445256cd1d5c2bbad136f
Remove most uses of RuntimeTypeHandle.Allocate (#45085)

- Refactoring paves way for related work in https://github.com/dotnet/runtime/pull/32520
- Fixes some possible GC holes in the reflection stack
src/coreclr/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreCLR.cs
src/coreclr/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs
src/coreclr/src/System.Private.CoreLib/src/System/RuntimeHandles.cs
src/coreclr/src/vm/ecalllist.h
src/coreclr/src/vm/reflectioninvocation.cpp
src/coreclr/src/vm/runtimehandles.h