typedef SizeClassAllocator64<kAllocatorSpace, kAllocatorSize, 0 /*metadata*/,
SizeClassMap, AsanMapUnmapCallback> PrimaryAllocator;
#else // Fallback to SizeClassAllocator32.
-static const uptr kRegionSizeLog = 20;
+static const uptr kRegionSizeLog = 17;
static const uptr kNumRegions = SANITIZER_MMAP_RANGE_SIZE >> kRegionSizeLog;
# if SANITIZER_WORDSIZE == 32
typedef FlatByteMap<kNumRegions> ByteMap;
#endif
#else // SANITIZER_WORDSIZE == 32
typedef CompactSizeClassMap SizeClassMap;
-static const uptr kRegionSizeLog = 20;
+static const uptr kRegionSizeLog = 17;
static const uptr kNumRegions = SANITIZER_MMAP_RANGE_SIZE >> kRegionSizeLog;
typedef FlatByteMap<kNumRegions> ByteMap;
typedef SizeClassAllocator32<0, SANITIZER_MMAP_RANGE_SIZE,
};
typedef SizeClassMap<17, 128, 16> DefaultSizeClassMap;
-typedef SizeClassMap<17, 64, 14> CompactSizeClassMap;
+typedef SizeClassMap<16, 64, 14> CompactSizeClassMap;
template<class SizeClassAllocator> struct SizeClassAllocatorLocalCache;
// Memory allocator statistics