[compiler-rt] r176857 - [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
Kostya Serebryany
kcc at google.com
Tue Mar 12 02:04:50 PDT 2013
Author: kcc
Date: Tue Mar 12 04:04:49 2013
New Revision: 176857
URL: http://llvm.org/viewvc/llvm-project?rev=176857&view=rev
Log:
[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
Modified:
compiler-rt/trunk/lib/asan/asan_allocator2.cc
Modified: compiler-rt/trunk/lib/asan/asan_allocator2.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_allocator2.cc?rev=176857&r1=176856&r2=176857&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_allocator2.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_allocator2.cc Tue Mar 12 04:04:49 2013
@@ -61,7 +61,7 @@ const uptr kAllocatorSpace = 0xa0000000
#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;
More information about the llvm-commits
mailing list