69 inline void*
New(
int size);
101 static const int kMinimumSegmentSize = 8 *
KB;
104 static const int kMaximumSegmentSize = 1 *
MB;
107 static const int kMaximumKeptSegmentSize = 64 *
KB;
110 int zone_excess_limit_;
115 int segment_bytes_allocated_;
131 void DeleteSegment(
Segment* segment,
int size);
151 INLINE(
void*
operator new(
size_t size,
Zone* zone));
171 INLINE(
void* New(
size_t size));
172 INLINE(
static void Delete(
void *pointer)) { }
191 INLINE(
void*
operator new(
size_t size,
Zone* zone));
240 virtual ~ZoneScope();
242 inline bool ShouldDeleteOnExit();
250 inline static int nesting();
261 template <
typename Config>
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 AddAll(const List< T, ZoneAllocationPolicy > &other, Zone *zone))
INLINE(void Add(const T &element, Zone *zone))
static unsigned allocation_size_
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))
INLINE(static HeapObject *EnsureDoubleAligned(Heap *heap, HeapObject *object, int size))
void Add(const T &element, AllocationPolicy allocator=AllocationPolicy())
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)