v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::BaseSpace Class Referenceabstract

#include <base-space.h>

Inheritance diagram for v8::internal::BaseSpace:
Collaboration diagram for v8::internal::BaseSpace:

Public Member Functions

 BaseSpace (const BaseSpace &)=delete
 
BaseSpaceoperator= (const BaseSpace &)=delete
 
Heapheap () const
 
AllocationSpace identity () const
 
virtual size_t CommittedMemory () const
 
virtual size_t MaximumCommittedMemory () const
 
virtual size_t CommittedPhysicalMemory () const =0
 
virtual size_t Size () const =0
 

Protected Member Functions

 BaseSpace (Heap *heap, AllocationSpace id)
 
virtual ~BaseSpace ()=default
 
void AccountCommitted (size_t bytes)
 
void AccountUncommitted (size_t bytes)
 

Protected Attributes

Heapheap_
 
AllocationSpace id_
 
std::atomic< size_tcommitted_ {0}
 
size_t max_committed_ = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::Malloced
static void * operator new (size_t size)
 
static void operator delete (void *p)
 

Detailed Description

Definition at line 22 of file base-space.h.

Constructor & Destructor Documentation

◆ BaseSpace() [1/2]

v8::internal::BaseSpace::BaseSpace ( const BaseSpace & )
delete

◆ BaseSpace() [2/2]

v8::internal::BaseSpace::BaseSpace ( Heap * heap,
AllocationSpace id )
inlineprotected

Definition at line 52 of file base-space.h.

◆ ~BaseSpace()

virtual v8::internal::BaseSpace::~BaseSpace ( )
protectedvirtualdefault

Member Function Documentation

◆ AccountCommitted()

void v8::internal::BaseSpace::AccountCommitted ( size_t bytes)
inlineprotected

Definition at line 56 of file base-space.h.

Here is the caller graph for this function:

◆ AccountUncommitted()

void v8::internal::BaseSpace::AccountUncommitted ( size_t bytes)
inlineprotected

Definition at line 64 of file base-space.h.

Here is the caller graph for this function:

◆ CommittedMemory()

virtual size_t v8::internal::BaseSpace::CommittedMemory ( ) const
inlinevirtual

Definition at line 36 of file base-space.h.

Here is the caller graph for this function:

◆ CommittedPhysicalMemory()

virtual size_t v8::internal::BaseSpace::CommittedPhysicalMemory ( ) const
pure virtual

◆ heap()

Heap * v8::internal::BaseSpace::heap ( ) const
inline

Definition at line 27 of file base-space.h.

Here is the caller graph for this function:

◆ identity()

AllocationSpace v8::internal::BaseSpace::identity ( ) const
inline

Definition at line 32 of file base-space.h.

Here is the caller graph for this function:

◆ MaximumCommittedMemory()

virtual size_t v8::internal::BaseSpace::MaximumCommittedMemory ( ) const
inlinevirtual

Definition at line 38 of file base-space.h.

◆ operator=()

BaseSpace & v8::internal::BaseSpace::operator= ( const BaseSpace & )
delete

◆ Size()

virtual size_t v8::internal::BaseSpace::Size ( ) const
pure virtual

Member Data Documentation

◆ committed_

std::atomic<size_t> v8::internal::BaseSpace::committed_ {0}
protected

Definition at line 74 of file base-space.h.

◆ heap_

Heap* v8::internal::BaseSpace::heap_
protected

Definition at line 70 of file base-space.h.

◆ id_

AllocationSpace v8::internal::BaseSpace::id_
protected

Definition at line 71 of file base-space.h.

◆ max_committed_

size_t v8::internal::BaseSpace::max_committed_ = 0
protected

Definition at line 75 of file base-space.h.


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