diff options
author | Konstantin Baladurin <k.baladurin@partner.samsung.com> | 2018-01-12 19:11:05 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-01-12 12:40:37 -0800 |
commit | 02f172c7f0476df791ebc364344b73464b83a73c (patch) | |
tree | 1f60848b7b8cc31e539edf8940c5be9bcff461d9 /src/vm/loaderallocator.cpp | |
parent | f2e52524fe421ac050b8a693438f662b40214074 (diff) | |
download | coreclr-02f172c7f0476df791ebc364344b73464b83a73c.tar.gz coreclr-02f172c7f0476df791ebc364344b73464b83a73c.tar.bz2 coreclr-02f172c7f0476df791ebc364344b73464b83a73c.zip |
LoaderHeap: remove LHF_ZEROINIT option.
This option was used for UMEntryThunkCode::Poison. Now we use own free list
to store freed thunks and don't return allocated memory to the LoaderHeap.
So reused thunks are always uninitialized.
Diffstat (limited to 'src/vm/loaderallocator.cpp')
-rw-r--r-- | src/vm/loaderallocator.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vm/loaderallocator.cpp b/src/vm/loaderallocator.cpp index ff54277efd..a27de7e4f1 100644 --- a/src/vm/loaderallocator.cpp +++ b/src/vm/loaderallocator.cpp @@ -1005,8 +1005,7 @@ void LoaderAllocator::Init(BaseDomain *pDomain, BYTE *pExecutableHeapMemory) dwExecutableHeapReserveSize, LOADERHEAP_PROFILE_COUNTER, NULL, - TRUE /* Make heap executable */, - FALSE /* Disable zero-initialization (needed by UMEntryThunkCode::Poison) */ + TRUE /* Make heap executable */ ); initReservedMem += dwExecutableHeapReserveSize; } |