summaryrefslogtreecommitdiff
path: root/src/gc/gcpriv.h
diff options
context:
space:
mode:
authorMaoni Stephens <Maoni0@users.noreply.github.com>2017-08-04 12:55:58 -0700
committerGitHub <noreply@github.com>2017-08-04 12:55:58 -0700
commit55ce686a6092cf38458d2dce6da18aef8eab7c43 (patch)
treeaed94be3438c63e9e707b09ff65e87871d68072f /src/gc/gcpriv.h
parentdbdb5387c28795d6f9fe8b9b0be1ce0048e01561 (diff)
downloadcoreclr-55ce686a6092cf38458d2dce6da18aef8eab7c43.tar.gz
coreclr-55ce686a6092cf38458d2dce6da18aef8eab7c43.tar.bz2
coreclr-55ce686a6092cf38458d2dce6da18aef8eab7c43.zip
align the segment size to power of 2 and perf fix on getting the seg mapping table indices (#13076)
seg size fixes
Diffstat (limited to 'src/gc/gcpriv.h')
-rw-r--r--src/gc/gcpriv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gc/gcpriv.h b/src/gc/gcpriv.h
index 88a59465e2..f6defba116 100644
--- a/src/gc/gcpriv.h
+++ b/src/gc/gcpriv.h
@@ -2939,9 +2939,14 @@ public:
PER_HEAP_ISOLATED
size_t last_gc_index;
+#ifdef SEG_MAPPING_TABLE
PER_HEAP_ISOLATED
size_t min_segment_size;
+ PER_HEAP_ISOLATED
+ size_t min_segment_size_shr;
+#endif //SEG_MAPPING_TABLE
+
// For SOH we always allocate segments of the same
// size unless no_gc_region requires larger ones.
PER_HEAP_ISOLATED