v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <zone.h>
Public Member Functions | |
Zone (Isolate *isolate) | |
~Zone () | |
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 68 of file zone.h.
References Zone::DeleteKeptSegment().
|
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().
Referenced by Zone::~Zone().
|
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(), Zone::NewArray(), and HGraphBuilder::operator new().
|
inline |
|
static |
Definition at line 91 of file zone.h.
Referenced by Zone::New().