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/gc/gcinterface.dac.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/gc/gcinterface.dac.h')
-rw-r--r-- | src/gc/gcinterface.dac.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gc/gcinterface.dac.h b/src/gc/gcinterface.dac.h index 84c8ffb36a..647101fa1f 100644 --- a/src/gc/gcinterface.dac.h +++ b/src/gc/gcinterface.dac.h @@ -18,12 +18,6 @@ #define MAX_GLOBAL_GC_MECHANISMS_COUNT 6 #define NUMBERGENERATIONS 4 -// TODO(segilles) - Implement this scheme for Server GC -namespace SVR { - class heap_segment; - class gc_heap; -} - // Analogue for the GC heap_segment class, containing information regarding a single // heap segment. class dac_heap_segment { |