![]() |
v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <zone.h>
Public Member Functions | |
| void * | New (int size) |
| template<typename T > | |
| T * | NewArray (int length) |
| void | DeleteAll () |
| void | DeleteKeptSegment () |
| bool | excess_allocation () |
| void | adjust_segment_bytes_allocated (int delta) |
| Isolate * | isolate () |
Static Public Attributes | |
| static unsigned | allocation_size_ = 0 |
Friends | |
| class | Isolate |
| class | ZoneScope |
|
inline |
Definition at line 82 of file zone-inl.h.
References Isolate::counters().
| void DeleteAll | ( | ) |
Definition at line 107 of file zone.cc.
References Segment::capacity(), Segment::clear_next(), Segment::end(), Segment::next(), v8::internal::NULL, v8::internal::RoundUp(), Segment::size(), and Segment::start().
| void DeleteKeptSegment | ( | ) |
Definition at line 159 of file zone.cc.
References v8::internal::NULL, and Segment::size().
|
inline |
Definition at line 77 of file zone-inl.h.
|
inline |
Definition at line 42 of file zone-inl.h.
References Zone::allocation_size_, ASSERT, v8::internal::IsAddressAligned(), v8::internal::kPointerSize, and v8::internal::RoundUp().
Referenced by DynamicScopePart::DynamicScopePart(), and Zone::NewArray().
|
inline |
|
static |
Definition at line 89 of file zone.h.
Referenced by Zone::New().