diff options
author | Sean Gillespie <sean@swgillespie.me> | 2017-04-01 14:25:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-01 14:25:07 -0700 |
commit | ed57233f4d26114d45b1293ced80a09f879f72cf (patch) | |
tree | 19eb9884c7cd1a5f51efd5e065042e44e14b6634 /src/vm/threads.h | |
parent | 036ff00ad33e3bdd8f0eef7513af331eb841d5b9 (diff) | |
download | coreclr-ed57233f4d26114d45b1293ced80a09f879f72cf.tar.gz coreclr-ed57233f4d26114d45b1293ced80a09f879f72cf.tar.bz2 coreclr-ed57233f4d26114d45b1293ced80a09f879f72cf.zip |
[Local GC] Remove static fields from GC interface (#10566)
* Remove max_generation from GC interface
* [Local GC] Clean up the GC interface by removing all static fields
from it:
1) gcHeapType is replaced by g_heap_type (EE side) and g_gc_heap_type
(GC side), each of which is set on initialization. g_heap_type is
read by the DAC to determine what kind of heap is being used.
2) maxGeneration is not necessary due to the GC DAC changes.
* Rebase against master
* Comments and cleanup
* Use a heap allocation instead of alloca
* Code review feedback: remove a redundant cast and allocate generation count table once, on first use
* Address code review feedback: cache some calls to GetMaxGeneration
Diffstat (limited to 'src/vm/threads.h')
-rw-r--r-- | src/vm/threads.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vm/threads.h b/src/vm/threads.h index f34066feb3..697ffea454 100644 --- a/src/vm/threads.h +++ b/src/vm/threads.h @@ -5555,6 +5555,7 @@ private: private: static LONG s_DeadThreadCountThresholdForGCTrigger; static DWORD s_DeadThreadGCTriggerPeriodMilliseconds; + static SIZE_T *s_DeadThreadGenerationCounts; public: |