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
Space Class Referenceabstract

#include <spaces.h>

Inheritance diagram for Space:
Collaboration diagram for Space:

Public Member Functions

 Space (Heap *heap, AllocationSpace id, Executability executable)
 
virtual ~Space ()
 
Heapheap () const
 
Executability executable ()
 
AllocationSpace identity ()
 
virtual intptr_t Size ()=0
 
virtual intptr_t SizeOfObjects ()
 
virtual int RoundSizeDownToObjectAlignment (int size)
 
- Public Member Functions inherited from Malloced
void * operator new (size_t size)
 
void operator delete (void *p)
 

Additional Inherited Members

- Static Public Member Functions inherited from Malloced
static void FatalProcessOutOfMemory ()
 
static void * New (size_t size)
 
static void Delete (void *p)
 

Detailed Description

Definition at line 893 of file spaces.h.

Constructor & Destructor Documentation

Space ( Heap heap,
AllocationSpace  id,
Executability  executable 
)
inline

Definition at line 895 of file spaces.h.

virtual ~Space ( )
inlinevirtual

Definition at line 898 of file spaces.h.

Member Function Documentation

Executability executable ( )
inline

Definition at line 903 of file spaces.h.

Referenced by SemiSpace::Commit(), PagedSpace::Expand(), and SemiSpace::GrowTo().

virtual int RoundSizeDownToObjectAlignment ( int  size)
inlinevirtual
virtual intptr_t Size ( )
pure virtual

Implemented in LargeObjectSpace, NewSpace, SemiSpace, and PagedSpace.

Referenced by Space::SizeOfObjects().

virtual intptr_t SizeOfObjects ( )
inlinevirtual

Reimplemented in LargeObjectSpace, and PagedSpace.

Definition at line 913 of file spaces.h.

References Space::Size().


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