41 #if defined(__has_feature)
42 #if __has_feature(address_sanitizer)
43 #define V8_USE_ADDRESS_SANITIZER
98 #ifdef V8_USE_ADDRESS_SANITIZER
99 static const int kAlignment = 8;
106 static const int kMinimumSegmentSize = 8 *
KB;
109 static const int kMaximumSegmentSize = 1 *
MB;
112 static const int kMaximumKeptSegmentSize = 64 *
KB;
115 static const int kExcessLimit = 256 *
MB;
118 unsigned allocation_size_;
123 int segment_bytes_allocated_;
154 INLINE(
void*
operator new(
size_t size,
Zone* zone));
188 INLINE(
void* New(
size_t size));
189 INLINE(
static void Delete(
void *pointer)) { }
209 INLINE(
void*
operator new(
size_t size,
Zone* zone));
253 template <
typename Config>
260 INLINE(
void*
operator new(
size_t size,
Zone* zone));
void InsertAt(int index, const T &element, AllocationPolicy allocator=AllocationPolicy())
INLINE(void *New(size_t size))
INLINE(static void Delete(void *pointer))
INLINE(void AddAll(const Vector< T > &other, Zone *zone))
INLINE(void *operator new(size_t size, Zone *zone))
INLINE(void InsertAt(int index, const T &element, Zone *zone))
INLINE(Vector< T > AddBlock(T value, int count, Zone *zone))
INLINE(void Allocate(int length, Zone *zone))
INLINE(void *operator new(size_t size, Zone *zone))
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object size
STATIC_ASSERT(sizeof(CPURegister)==sizeof(Register))
INLINE(void AddAll(const List< T, ZoneAllocationPolicy > &other, Zone *zone))
INLINE(void Add(const T &element, Zone *zone))
void adjust_segment_bytes_allocated(int delta)
ZoneList(const ZoneList< T > &other, Zone *zone)
#define T(name, string, precedence)
INLINE(void *operator new(size_t size, Zone *zone))
#define INLINE(declarator)
void Add(const T &element, AllocationPolicy allocator=AllocationPolicy())
unsigned allocation_size()
ZoneAllocationPolicy(Zone *zone)
TemplateHashMapImpl< ZoneAllocationPolicy > ZoneHashMap
INLINE(void Initialize(int capacity, Zone *zone))
Vector< T > AddBlock(T value, int count, AllocationPolicy allocator=AllocationPolicy())
void AddAll(const List< T, AllocationPolicy > &other, AllocationPolicy allocator=AllocationPolicy())
ZoneSplayTree(Zone *zone)
ZoneList(int capacity, Zone *zone)