diff options
author | Sean Gillespie <segilles@microsoft.com> | 2017-07-20 21:53:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-20 21:53:46 -0700 |
commit | 0372174871c1e27f483c9877c2c5181720be8722 (patch) | |
tree | 16cbb72c8c7b95c9fff92e4e1fec329ae431a2e2 /src/gc/handletablepriv.h | |
parent | fa3d1cdd5583d5b278dd1a9c246ff30ca6966973 (diff) | |
download | coreclr-0372174871c1e27f483c9877c2c5181720be8722.tar.gz coreclr-0372174871c1e27f483c9877c2c5181720be8722.tar.bz2 coreclr-0372174871c1e27f483c9877c2c5181720be8722.zip |
[Local GC] Refactor usage of GC-internal functions in the DAC (#12458)
* Refactor usage of GC-internal functions in the DAC
* Fix one debugger test failure, one to go
Diffstat (limited to 'src/gc/handletablepriv.h')
-rw-r--r-- | src/gc/handletablepriv.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/gc/handletablepriv.h b/src/gc/handletablepriv.h index cda1cb08aa..f33a547a23 100644 --- a/src/gc/handletablepriv.h +++ b/src/gc/handletablepriv.h @@ -56,9 +56,6 @@ #define HANDLE_HANDLES_PER_BLOCK (64) // segment suballocation granularity #define HANDLE_OPTIMIZE_FOR_64_HANDLE_BLOCKS // flag for certain optimizations -// maximum number of internally supported handle types -#define HANDLE_MAX_INTERNAL_TYPES (12) // should be a multiple of 4 - // number of types allowed for public callers #define HANDLE_MAX_PUBLIC_TYPES (HANDLE_MAX_INTERNAL_TYPES - 1) // reserve one internal type @@ -513,6 +510,11 @@ struct HandleTable uint32_t rgTypeFlags[HANDLE_MAX_INTERNAL_TYPES]; /* + * per-table AppDomain info + */ + ADIndex uADIndex; + + /* * lock for this table */ CrstStatic Lock; @@ -544,11 +546,6 @@ struct HandleTable uint32_t uTableIndex; /* - * per-table AppDomain info - */ - ADIndex uADIndex; - - /* * one-level per-type 'quick' handle cache */ OBJECTHANDLE rgQuickCache[HANDLE_MAX_INTERNAL_TYPES]; // interlocked ops used here |