diff options
author | Steve MacLean <Steve.MacLean@Microsoft.com> | 2018-11-29 22:14:11 -0500 |
---|---|---|
committer | Steve MacLean <stmaclea@microsoft.com> | 2018-11-30 20:37:45 -0500 |
commit | bab59b646768fc4dec6fa540af7c7c61c206466c (patch) | |
tree | 9611cd438098c5e95510c5fededb5b2b3217a1ca /src/vm/threads.h | |
parent | 93000363bb5bad3e545bc59c43fbaea275985fb7 (diff) | |
download | coreclr-bab59b646768fc4dec6fa540af7c7c61c206466c.tar.gz coreclr-bab59b646768fc4dec6fa540af7c7c61c206466c.tar.bz2 coreclr-bab59b646768fc4dec6fa540af7c7c61c206466c.zip |
Remove dead code
Diffstat (limited to 'src/vm/threads.h')
-rw-r--r-- | src/vm/threads.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/vm/threads.h b/src/vm/threads.h index 63f2edcbf1..c57d8487e5 100644 --- a/src/vm/threads.h +++ b/src/vm/threads.h @@ -2510,30 +2510,6 @@ public: { LIMITED_METHOD_DAC_CONTRACT; - // if another thread is asking about our thread, we could be in the middle of an AD transition so - // the context and AD may not match if have set one but not the other. Can live without checking when - // another thread is asking it as this method is mostly called on our own thread so will mostly get the - // checking. If are int the middle of a transition, this could return either the old or the new AD. - // But no matter what we do, such as lock on the transition, by the time are done could still have - // changed right after we asked, so really no point. -#ifdef _DEBUG_IMPL - BEGIN_GETTHREAD_ALLOWED_IN_NO_THROW_REGION; - if (!g_fEEShutDown && this == GetThread()) - { - if (!fMidContextTransitionOK) - { - // We also want to suppress the "domain on context == domain on thread" check if this might - // be called during a context or AD transition (in which case fMidContextTransitionOK is nonzero). - // A profiler stackwalk can occur at arbitrary times, including during these transitions, but - // the stackwalk is still safe to do at this point, so we don't want to trigger this assert. - _ASSERTE((m_Context == NULL && m_pDomain == NULL) || m_Context->GetDomain() == m_pDomain); - } - AppDomain* valueInTLSSlot = GetAppDomain(); - _ASSERTE(valueInTLSSlot == 0 || valueInTLSSlot == m_pDomain); - } - END_GETTHREAD_ALLOWED_IN_NO_THROW_REGION; -#endif - return m_pDomain; } |