diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-01-24 09:24:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 09:24:04 +0300 |
commit | 3e9ccf58f5beaa050910a71290a843b154626c4e (patch) | |
tree | 23cedc698179b621c17445dd20f43b2e21ee919c /src/Native/Runtime/GCHelpers.cpp | |
parent | e7d315ee6f71cb0a3f1158018e56bae50bf591ce (diff) |
Port GC updates from CoreCLR (#2567)
- https://github.com/dotnet/coreclr/pull/9029
- https://github.com/dotnet/coreclr/pull/8976
- Matching runtime changes
Diffstat (limited to 'src/Native/Runtime/GCHelpers.cpp')
-rw-r--r-- | src/Native/Runtime/GCHelpers.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Native/Runtime/GCHelpers.cpp b/src/Native/Runtime/GCHelpers.cpp index 68b12c3a3..56884aef9 100644 --- a/src/Native/Runtime/GCHelpers.cpp +++ b/src/Native/Runtime/GCHelpers.cpp @@ -25,15 +25,6 @@ #include "threadstore.inl" #include "thread.inl" -EXTERN_C REDHAWK_API void __cdecl RhWaitForPendingFinalizers(UInt32_BOOL allowReentrantWait) -{ - // This must be called via p/invoke rather than RuntimeImport since it blocks and could starve the GC if - // called in cooperative mode. - ASSERT(!GetThread()->IsCurrentThreadInCooperativeMode()); - - FinalizerThread::Wait(INFINITE, allowReentrantWait); -} - EXTERN_C REDHAWK_API void __cdecl RhpCollect(UInt32 uGeneration, UInt32 uMode) { // This must be called via p/invoke rather than RuntimeImport to make the stack crawlable. |