summaryrefslogtreecommitdiff
path: root/src/gc/env/gcenv.base.h
diff options
context:
space:
mode:
authorDavid Mason <davmason@microsoft.com>2018-08-25 12:24:35 -0700
committerGitHub <noreply@github.com>2018-08-25 12:24:35 -0700
commita1404cafbe1cd15a5c0cfbd4995ad97694b708bd (patch)
tree33728689499c098f0c4eef47cb22ef4efbc38721 /src/gc/env/gcenv.base.h
parent3fca50a36e62a7433d7601d805d38de6baee7951 (diff)
downloadcoreclr-a1404cafbe1cd15a5c0cfbd4995ad97694b708bd.tar.gz
coreclr-a1404cafbe1cd15a5c0cfbd4995ad97694b708bd.tar.bz2
coreclr-a1404cafbe1cd15a5c0cfbd4995ad97694b708bd.zip
Remove NumaNodeInfo, CPUGroupInfo, AppDomain, SystemDomain, and EEConfig stubs from local gc (#19500)
* Switch NumaNodeInfo and CPUGroupInfo to the interface * Remove AppDomain/SystemDomain stubs * remove EEConfig methods * Port numa code to the coreclr side * add numa back to PAL and standalone builds * enable numa for PAL/Standalone builds, and fix BOOL warnings * remove unused defines, and fix linux build errors * building on windows * about to delete numa work from unix and want a backup * add stubs for unix numa/cpugroup * Code review feedback * Code review feedback
Diffstat (limited to 'src/gc/env/gcenv.base.h')
-rw-r--r--src/gc/env/gcenv.base.h66
1 files changed, 0 insertions, 66 deletions
diff --git a/src/gc/env/gcenv.base.h b/src/gc/env/gcenv.base.h
index 8693bbe449..15a81d77ae 100644
--- a/src/gc/env/gcenv.base.h
+++ b/src/gc/env/gcenv.base.h
@@ -489,70 +489,4 @@ struct ADIndex
BOOL operator!=(const ADIndex& ad) const { return m_dwIndex != ad.m_dwIndex; }
};
-class AppDomain
-{
-public:
- ADIndex GetIndex() { return ADIndex(RH_DEFAULT_DOMAIN_ID); }
- BOOL IsRudeUnload() { return FALSE; }
- BOOL NoAccessToHandleTable() { return FALSE; }
- void DecNumSizedRefHandles() {}
-};
-
-class SystemDomain
-{
-public:
- static SystemDomain *System() { return NULL; }
- static AppDomain *GetAppDomainAtIndex(ADIndex /*index*/) { return (AppDomain *)-1; }
- static AppDomain *AppDomainBeingUnloaded() { return NULL; }
- AppDomain *DefaultDomain() { return NULL; }
- DWORD GetTotalNumSizedRefHandles() { return 0; }
-};
-
-class NumaNodeInfo
-{
-public:
- static bool CanEnableGCNumaAware()
- {
- // [LOCALGC TODO] enable NUMA node support
- return false;
- }
-
- static void GetGroupForProcessor(uint16_t processor_number, uint16_t * group_number, uint16_t * group_processor_number)
- {
- // [LOCALGC TODO] enable NUMA node support
- assert(!"should not be called");
- }
-
- static bool GetNumaProcessorNodeEx(PPROCESSOR_NUMBER proc_no, uint16_t * node_no)
- {
- // [LOCALGC TODO] enable NUMA node support
- assert(!"should not be called");
- return false;
- }
-};
-
-class CPUGroupInfo
-{
-public:
- static bool CanEnableGCCPUGroups()
- {
- // [LOCALGC TODO] enable CPU group support
- return false;
- }
-
- static uint32_t GetNumActiveProcessors()
- {
- // [LOCALGC TODO] enable CPU group support
- assert(!"should not be called");
- return 0;
- }
-
- static void GetGroupForProcessor(uint16_t processor_number, uint16_t * group_number, uint16_t * group_processor_number)
- {
- // [LOCALGC TODO] enable CPU group support
- assert(!"should not be called");
- }
-};
-
-
#endif // __GCENV_BASE_INCLUDED__