diff options
author | David Wrighton <davidwr@microsoft.com> | 2019-05-15 18:28:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 18:28:42 -0700 |
commit | bdb995987178231ba541f22143cb3cab56309daa (patch) | |
tree | 655d0d0bfaee70a56c5a2b33e52fc27965314049 /src/gc/env/gcenv.base.h | |
parent | c2533b6c3f715b6964de5ffe0b2a2feaac42b079 (diff) | |
download | coreclr-bdb995987178231ba541f22143cb3cab56309daa.tar.gz coreclr-bdb995987178231ba541f22143cb3cab56309daa.tar.bz2 coreclr-bdb995987178231ba541f22143cb3cab56309daa.zip |
Remove concept of AppDomains from the GC (#24536)
* Remove concept of AppDomains from the GC
- Leave constructs allowing for multiple handle tables, as scenarios for that have been proposed
- Remove FEATURE_APPDOMAIN_RESOURCE_MONITORING
Diffstat (limited to 'src/gc/env/gcenv.base.h')
-rw-r--r-- | src/gc/env/gcenv.base.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/gc/env/gcenv.base.h b/src/gc/env/gcenv.base.h index 614b84ab23..46ad366e62 100644 --- a/src/gc/env/gcenv.base.h +++ b/src/gc/env/gcenv.base.h @@ -538,22 +538,4 @@ inline bool FitsInU1(uint64_t val) return val == (uint64_t)(uint8_t)val; } -// ----------------------------------------------------------------------------------------------------------- -// -// AppDomain emulation. The we don't have these in Redhawk so instead we emulate the bare minimum of the API -// touched by the GC/HandleTable and pretend we have precisely one (default) appdomain. -// - -#define RH_DEFAULT_DOMAIN_ID 1 - -struct ADIndex -{ - DWORD m_dwIndex; - - ADIndex () : m_dwIndex(RH_DEFAULT_DOMAIN_ID) {} - explicit ADIndex (DWORD id) : m_dwIndex(id) {} - BOOL operator==(const ADIndex& ad) const { return m_dwIndex == ad.m_dwIndex; } - BOOL operator!=(const ADIndex& ad) const { return m_dwIndex != ad.m_dwIndex; } -}; - #endif // __GCENV_BASE_INCLUDED__ |