diff options
author | danmosemsft <danmose@microsoft.com> | 2017-02-12 11:12:36 -0800 |
---|---|---|
committer | danmosemsft <danmose@microsoft.com> | 2017-02-12 16:58:48 -0800 |
commit | 5b9f6a1c0f09d74ea7fe870c7b6c14fe9b5002cc (patch) | |
tree | 6efc019bd85071dfad4abb0f559ed8c5124e1cd0 /src/vm/mdaassistants.cpp | |
parent | c65413fd6470e853ceb02649906cdbc164700a97 (diff) | |
download | coreclr-5b9f6a1c0f09d74ea7fe870c7b6c14fe9b5002cc.tar.gz coreclr-5b9f6a1c0f09d74ea7fe870c7b6c14fe9b5002cc.tar.bz2 coreclr-5b9f6a1c0f09d74ea7fe870c7b6c14fe9b5002cc.zip |
Remove always defined FEATURE_SYNCHRONIZATIONCONTEXT_WAIT
Diffstat (limited to 'src/vm/mdaassistants.cpp')
-rw-r--r-- | src/vm/mdaassistants.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vm/mdaassistants.cpp b/src/vm/mdaassistants.cpp index e52e8ff8ec..eb9a448a3a 100644 --- a/src/vm/mdaassistants.cpp +++ b/src/vm/mdaassistants.cpp @@ -139,7 +139,6 @@ void TriggerGCForMDAInternal() { GCHeapUtilities::GetGCHeap()->GarbageCollect(); -#ifdef FEATURE_SYNCHRONIZATIONCONTEXT_WAIT // // It is very dangerous to wait for finalizer thread here if we are inside a wait // operation, as the wait operation might call into interop which calls this MDA @@ -150,7 +149,6 @@ void TriggerGCForMDAInternal() // So, if we are inside a SyncContext.Wait, don't call out to FinalizerThreadWait // if (!GetThread()->HasThreadStateNC(Thread::TSNC_InsideSyncContextWait)) -#endif // FEATURE_SYNCHRONIZATIONCONTEXT_WAIT // It is possible that user code run as part of finalization will wait for this thread. // To avoid deadlocks, we limit the wait time to 10 seconds (an arbitrary number). FinalizerThread::FinalizerThreadWait(10 * 1000); |