diff options
author | Steve MacLean <sdmaclea.qdt@qualcommdatacenter.com> | 2017-06-12 17:14:12 -0400 |
---|---|---|
committer | Maoni Stephens <Maoni0@users.noreply.github.com> | 2017-06-12 14:14:12 -0700 |
commit | 0ee3b5e64a98dc71aefed2304fe4bcf7f66ca9f5 (patch) | |
tree | 8f099e2391d8990de1c7d0f4ca4c3fcae6839e4d /src/vm/syncblk.cpp | |
parent | c655981474be1d3aa0165408e5c3914c5cfc35a1 (diff) | |
download | coreclr-0ee3b5e64a98dc71aefed2304fe4bcf7f66ca9f5.tar.gz coreclr-0ee3b5e64a98dc71aefed2304fe4bcf7f66ca9f5.tar.bz2 coreclr-0ee3b5e64a98dc71aefed2304fe4bcf7f66ca9f5.zip |
[Arm64/Unix] Add 64K page support (#10981)
* [Arm64/Unix] Support 64K pages
* GC move GCToOSInterface::Initialize() into InitializeGarbageCollector()
Diffstat (limited to 'src/vm/syncblk.cpp')
-rw-r--r-- | src/vm/syncblk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/syncblk.cpp b/src/vm/syncblk.cpp index 78e455a580..50eec9b068 100644 --- a/src/vm/syncblk.cpp +++ b/src/vm/syncblk.cpp @@ -35,8 +35,8 @@ #include "runtimecallablewrapper.h" #endif // FEATURE_COMINTEROP -// Allocate 1 page worth. Typically enough -#define MAXSYNCBLOCK (PAGE_SIZE-sizeof(void*))/sizeof(SyncBlock) +// Allocate 4K worth. Typically enough +#define MAXSYNCBLOCK (0x1000-sizeof(void*))/sizeof(SyncBlock) #define SYNC_TABLE_INITIAL_SIZE 250 //#define DUMP_SB |