[asan] use 4Tb of address space for the asan allocator instead of 1Tb. This increases the memory available for a single size class from 16Gb to 64Gb. The total VM footprint becomes 20Tb

llvm-svn: 176857
This commit is contained in:
Kostya Serebryany 2013-03-12 09:04:49 +00:00
parent c9a72919a5
commit 67b1478914
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ const uptr kAllocatorSpace = 0xa0000000000ULL;
#else
const uptr kAllocatorSpace = 0x600000000000ULL;
#endif
const uptr kAllocatorSize = 0x10000000000ULL; // 1T.
const uptr kAllocatorSize = 0x40000000000ULL; // 4T.
typedef DefaultSizeClassMap SizeClassMap;
typedef SizeClassAllocator64<kAllocatorSpace, kAllocatorSize, 0 /*metadata*/,
SizeClassMap, AsanMapUnmapCallback> PrimaryAllocator;