47 CHECK(std::numeric_limits<int>::max() /
static_cast<int>(
sizeof(
T)) >
49 return static_cast<T*
>(
New(length *
sizeof(
T)));
76 #ifdef V8_USE_ADDRESS_SANITIZER
167 INLINE(
static void Delete(
void *pointer)) { }
231 template <
typename Config>
void Add(const T &element, ZoneAllocationPolicy allocator=ZoneAllocationPolicy())
void AddAll(const List< T, ZoneAllocationPolicy > &other, ZoneAllocationPolicy allocator=ZoneAllocationPolicy())
void InsertAt(int index, const T &element, ZoneAllocationPolicy allocator=ZoneAllocationPolicy())
Vector< T > AddBlock(T value, int count, ZoneAllocationPolicy allocator=ZoneAllocationPolicy())
INLINE(void AddAll(const Vector< T > &other, Zone *zone))
INLINE(void Allocate(int length, Zone *zone))
INLINE(void InsertAt(int index, const T &element, Zone *zone))
INLINE(void AddAll(const List< T, ZoneAllocationPolicy > &other, Zone *zone))
INLINE(void Add(const T &element, Zone *zone))
INLINE(Vector< T > AddBlock(T value, int count, Zone *zone))
INLINE(void *operator new(size_t size, Zone *zone))
INLINE(void Initialize(int capacity, Zone *zone))
ZoneList(const ZoneList< T > &other, Zone *zone)
ZoneList(int capacity, Zone *zone)
INLINE(void *operator new(size_t size, Zone *zone))
ZoneSplayTree(Zone *zone)
INLINE(void *operator new(size_t size, Zone *zone))
INLINE(void DeleteSegment(Segment *segment, int size))
static const int kMaximumSegmentSize
static const int kAlignment
void adjust_segment_bytes_allocated(int delta)
int segment_bytes_allocated_
Isolate * isolate() const
static const int kMinimumSegmentSize
static const int kExcessLimit
unsigned allocation_size() const
INLINE(Segment *NewSegment(int size))
unsigned allocation_size_
static const int kMaximumKeptSegmentSize
Address NewExpand(int size)
enable harmony numeric enable harmony object literal extensions Optimize object size
TemplateHashMapImpl< ZoneAllocationPolicy > ZoneHashMap
STATIC_ASSERT(sizeof(CPURegister)==sizeof(Register))
Debugger support for the V8 JavaScript engine.
ZoneAllocationPolicy(Zone *zone)
INLINE(static void Delete(void *pointer))
INLINE(void *New(size_t size))
#define T(name, string, precedence)