diff options
author | David Wrighton <davidwr@microsoft.com> | 2019-04-03 15:54:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-03 15:54:05 -0700 |
commit | d3e39bc2f81e3dbf9e4b96347f62b49d8700336c (patch) | |
tree | 78b72499a0f38e9dbf6ae4d6d24c77779ac543dc /src/vm/dllimportcallback.h | |
parent | a7dd6192530dec1d424c359233a1b92f559fa92a (diff) | |
download | coreclr-d3e39bc2f81e3dbf9e4b96347f62b49d8700336c.tar.gz coreclr-d3e39bc2f81e3dbf9e4b96347f62b49d8700336c.tar.bz2 coreclr-d3e39bc2f81e3dbf9e4b96347f62b49d8700336c.zip |
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
Diffstat (limited to 'src/vm/dllimportcallback.h')
-rw-r--r-- | src/vm/dllimportcallback.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/vm/dllimportcallback.h b/src/vm/dllimportcallback.h index 805e9c01bb..3f02ef0e9f 100644 --- a/src/vm/dllimportcallback.h +++ b/src/vm/dllimportcallback.h @@ -286,8 +286,7 @@ public: VOID LoadTimeInit(PCODE pManagedTarget, OBJECTHANDLE pObjectHandle, UMThunkMarshInfo *pUMThunkMarshInfo, - MethodDesc *pMD, - ADID dwDomainId) + MethodDesc *pMD) { CONTRACTL { @@ -302,7 +301,6 @@ public: m_pManagedTarget = pManagedTarget; m_pObjectHandle = pObjectHandle; m_pUMThunkMarshInfo = pUMThunkMarshInfo; - m_dwDomainId = dwDomainId; m_pMD = pMD; // For debugging and profiling, so they can identify the target @@ -467,20 +465,6 @@ public: RETURN m_pMD; } - ADID GetDomainId() const - { - CONTRACT (ADID) - { - NOTHROW; - GC_NOTRIGGER; - MODE_ANY; - PRECONDITION(m_state == kRunTimeInited || m_state == kLoadTimeInited); - } - CONTRACT_END; - - RETURN m_dwDomainId; - } - static DWORD GetOffsetOfMethodDesc() { LIMITED_METHOD_CONTRACT; @@ -518,7 +502,6 @@ private: UMEntryThunk *m_pNextFreeThunk; }; - ADID m_dwDomainId; // appdomain of module (cached for fast access) #ifdef _DEBUG DWORD m_state; // the initialization state #endif |