Remove asserts that were firing during rejit tests (#33492)
authorDavid Mason <davmason@microsoft.com>
Fri, 13 Mar 2020 01:17:18 +0000 (18:17 -0700)
committerGitHub <noreply@github.com>
Fri, 13 Mar 2020 01:17:18 +0000 (18:17 -0700)
The rejit path no longer suspends the runtime so that assert is inaccurate

src/coreclr/src/vm/rejit.cpp

index 2f46bd3..d954b26 100644 (file)
@@ -657,7 +657,6 @@ HRESULT ReJitManager::UpdateActiveILVersions(
                 // ThreadStore crsts
                 SystemDomain::LockHolder lh;
 
-                _ASSERTE(ThreadStore::HoldingThreadStore());
                 hr = pCodeVersionManager->SetActiveILCodeVersions(pCodeActivationBatch->m_methodsToActivate.Ptr(), pCodeActivationBatch->m_methodsToActivate.Count(), &errorRecords);
                 if (FAILED(hr))
                     break;