From 67b1478914c613a8e5fcd1d40686d164bc38f7a5 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Tue, 12 Mar 2013 09:04:49 +0000 Subject: [PATCH] [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 --- compiler-rt/lib/asan/asan_allocator2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/asan/asan_allocator2.cc b/compiler-rt/lib/asan/asan_allocator2.cc index 9f665b0..3288f28 100644 --- a/compiler-rt/lib/asan/asan_allocator2.cc +++ b/compiler-rt/lib/asan/asan_allocator2.cc @@ -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 PrimaryAllocator; -- 2.7.4