Lines Matching defs:zone
13 #include "src/zone/accounting-allocator.h"
14 #include "src/zone/type-stats.h"
15 #include "src/zone/zone-segment.h"
16 #include "src/zone/zone-type-traits.h"
44 // Returns true if the zone supports zone pointer compression.
134 // Seals the zone to prevent any further allocation.
137 // Allows the zone to be safely reused. Releases the memory except for the
138 // last page, and fires zone destruction and creation events for the
146 // Returns precise value of used zone memory, allowed to be called only
147 // from thread owning the zone.
153 // When V8_ENABLE_PRECISE_ZONE_STATS is not defined, returns used zone memory
155 // Can be called from threads not owning the zone.
164 // Returns number of bytes freed in this zone via Delete<T>()/DeleteArray<T>()
200 // The number of bytes allocated in this zone so far.
205 // the zone.
231 // The number of bytes freed in this zone so far.
239 // zone memory. All memory allocated in the given Zone during the scope's
244 explicit ZoneScope(Zone* zone);
265 // new (zone) SomeObject(...)
268 // zone->New<SomeObject>(...)
282 // Zone::DeleteAll() to delete all zone objects in one go.
285 void operator delete(void* pointer, Zone* zone) = delete;
294 explicit ZoneAllocationPolicy(Zone* zone) : zone_(zone) {}
298 return zone()->NewArray<T, TypeTag>(length);
302 zone()->DeleteArray<T, TypeTag>(p, length);
305 Zone* zone() const { return zone_; }
315 // new (zone) SomeObject(...)
318 // zone->New<SomeObject>(...)