Adding public API for Pinned Object Heap allocations (#33526)
authorVladimir Sadov <vsadov@microsoft.com>
Wed, 18 Mar 2020 05:00:41 +0000 (22:00 -0700)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2020 05:00:41 +0000 (05:00 +0000)
commitc0ddd1c5d1636de873398c8d9544e02289f95fec
tree33c3221d1306ba0e86527d1bebb63efcc16b78fe
parenteb2477c94a188749198d3acdedc9f682bdb69dfa
Adding public API for Pinned Object Heap allocations (#33526)

* Adding API for POH allocations and propagating flags all the way to Alloc.

* make `AllocateUninitializedArray` and `AllocateArray`  public

* Added NYI implementations to Mono

* moved tests to libraries

* Actually use POH and more tests.

* Disable tests for the new API on mono

* mop up remaining TODOs

* Fix build breaking whitespace.

* Mono tabs and mark heavier tests as [Outerloop]

* Mono  space before openning parens and braces

* Refactored AllocateArray

* PR feedback

* XML Doc comments
18 files changed:
src/coreclr/src/System.Private.CoreLib/ILLinkTrim.xml
src/coreclr/src/System.Private.CoreLib/src/System/GC.cs
src/coreclr/src/gc/gc.cpp
src/coreclr/src/gc/gcinterface.h
src/coreclr/src/vm/comutilnative.cpp
src/coreclr/src/vm/comutilnative.h
src/coreclr/src/vm/gchelpers.cpp
src/coreclr/src/vm/gchelpers.h
src/coreclr/src/vm/i386/jitinterfacex86.cpp
src/coreclr/src/vm/jithelpers.cpp
src/coreclr/src/vm/object.h
src/coreclr/src/vm/object.inl
src/coreclr/tests/issues.targets
src/coreclr/tests/src/GC/API/GC/AllocateUninitializedArray.cs [deleted file]
src/coreclr/tests/src/GC/API/GC/AllocateUninitializedArray.csproj [deleted file]
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Runtime/tests/System/GCTests.cs
src/mono/netcore/System.Private.CoreLib/src/System/GC.Mono.cs