v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Zone Class Reference

#include <zone.h>

Public Member Functions

 Zone (Isolate *isolate)
 
 ~Zone ()
 
void * New (int size)
 
template<typename T >
TNewArray (int length)
 
void DeleteAll ()
 
void DeleteKeptSegment ()
 
bool excess_allocation ()
 
void adjust_segment_bytes_allocated (int delta)
 
unsigned allocation_size ()
 
Isolateisolate ()
 

Friends

class Isolate
 

Detailed Description

Definition at line 63 of file zone.h.

Constructor & Destructor Documentation

Zone ( Isolate isolate)
explicit

Definition at line 70 of file zone.cc.

~Zone ( )

Definition at line 80 of file zone.cc.

References ASSERT, Zone::DeleteAll(), and Zone::DeleteKeptSegment().

Member Function Documentation

void adjust_segment_bytes_allocated ( int  delta)
inline

Definition at line 104 of file zone-inl.h.

References Isolate::counters().

unsigned allocation_size ( )
inline

Definition at line 88 of file zone.h.

void DeleteKeptSegment ( )
bool excess_allocation ( )
inline

Definition at line 99 of file zone-inl.h.

T * NewArray ( int  length)
inline

Friends And Related Function Documentation

friend class Isolate
friend

Definition at line 93 of file zone.h.


The documentation for this class was generated from the following files: