summaryrefslogtreecommitdiff
path: root/src/gc/handletablepriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gc/handletablepriv.h')
-rw-r--r--src/gc/handletablepriv.h13
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