summaryrefslogtreecommitdiff
path: root/src/gc/gcpriv.h
diff options
context:
space:
mode:
authorMaoni0 <maonis@microsoft.com>2016-07-02 21:07:23 -0700
committerMaoni0 <maonis@microsoft.com>2016-07-02 21:29:18 -0700
commitd088712003e8d483872754d6b3c72aa2d4443a93 (patch)
tree717c88746ac35be3a4af78235afbedc2bc2bd3c7 /src/gc/gcpriv.h
parent339d991562c404417bfbc741f7d02e107cadf23d (diff)
downloadcoreclr-d088712003e8d483872754d6b3c72aa2d4443a93.tar.gz
coreclr-d088712003e8d483872754d6b3c72aa2d4443a93.tar.bz2
coreclr-d088712003e8d483872754d6b3c72aa2d4443a93.zip
Added 2 configs for Server GC
complus var GCNoAffinitize or project.json System.GC.NoAffinitize - specify 1/true to disable hard affinity of Server GC threads to CPUs complus var GCHeapCount or project.json System.GC.HeapCount - specify the # of Server GC threads/heaps, must be smaller than the # of logical CPUs the process is allowed to run on, ie, if you don't specifically affinitize your process it means the # of total logical CPUs on the machine; otherwise this is the # of logical CPUs you affinitized your process to.
Diffstat (limited to 'src/gc/gcpriv.h')
-rw-r--r--src/gc/gcpriv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gc/gcpriv.h b/src/gc/gcpriv.h
index 4a2e929620..ec0c8324f4 100644
--- a/src/gc/gcpriv.h
+++ b/src/gc/gcpriv.h
@@ -2892,6 +2892,9 @@ public:
#ifdef MULTIPLE_HEAPS
PER_HEAP_ISOLATED
+ bool gc_thread_no_affinitize_p;
+
+ PER_HEAP_ISOLATED
CLREvent gc_start_event;
PER_HEAP_ISOLATED