From d3e39bc2f81e3dbf9e4b96347f62b49d8700336c Mon Sep 17 00:00:00 2001 From: David Wrighton Date: Wed, 3 Apr 2019 15:54:05 -0700 Subject: Remove ADID and ADIndex from CoreCLR (#23588) - Remove concept of AppDomain from object api in VM - Various infrastructure around entering/leaving appdomains is removed - Add small implementation of GetAppDomain for use by DAC (to match existing behavior) - Simplify finalizer thread operations - Eliminate AppDomain::Terminate - Remove use of ADID from stresslog - Remove thread enter/leave tracking from AppDomain - Remove unused asm constants across all architectures - Re-order header inclusion order to put gcenv.h before handletable - Remove retail only sync block code involving appdomain index --- src/vm/threadsuspend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vm/threadsuspend.cpp') diff --git a/src/vm/threadsuspend.cpp b/src/vm/threadsuspend.cpp index df6152e3bd..1fee3b760c 100644 --- a/src/vm/threadsuspend.cpp +++ b/src/vm/threadsuspend.cpp @@ -2763,7 +2763,7 @@ void Thread::HandleThreadAbort () STATIC_CONTRACT_THROWS; STATIC_CONTRACT_GC_TRIGGERS; - TESTHOOKCALL(AppDomainCanBeUnloaded(GetDomain()->GetId().m_dwId,FALSE)); + TESTHOOKCALL(AppDomainCanBeUnloaded(DefaultADID, FALSE)); // It's possible we could go through here if we hit a hard SO and MC++ has called back // into the runtime on this thread -- cgit v1.2.3