V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::Space Class Referenceabstract
Inheritance diagram for v8::internal::Space:
v8::internal::Malloced v8::internal::LargeObjectSpace v8::internal::SemiSpace v8::internal::SpaceWithLinearArea v8::internal::CodeLargeObjectSpace v8::internal::NewLargeObjectSpace v8::internal::NewSpace

Public Member Functions

 Space (Heap *heap, AllocationSpace id)
 
Heapheap () const
 
AllocationSpace identity ()
 
const charname ()
 
virtual V8_EXPORT_PRIVATE void AddAllocationObserver (AllocationObserver *observer)
 
virtual V8_EXPORT_PRIVATE void RemoveAllocationObserver (AllocationObserver *observer)
 
virtual V8_EXPORT_PRIVATE void PauseAllocationObservers ()
 
virtual V8_EXPORT_PRIVATE void ResumeAllocationObservers ()
 
virtual V8_EXPORT_PRIVATE void StartNextInlineAllocationStep ()
 
void AllocationStep (int bytes_since_last, Address soon_object, int size)
 
virtual size_t CommittedMemory ()
 
virtual size_t MaximumCommittedMemory ()
 
virtual size_t Size ()=0
 
virtual size_t SizeOfObjects ()
 
virtual size_t CommittedPhysicalMemory ()=0
 
virtual size_t Available ()=0
 
virtual int RoundSizeDownToObjectAlignment (int size)
 
virtual std::unique_ptr< ObjectIteratorGetObjectIterator ()=0
 
void AccountCommitted (size_t bytes)
 
void AccountUncommitted (size_t bytes)
 
void IncrementExternalBackingStoreBytes (ExternalBackingStoreType type, size_t amount)
 
void DecrementExternalBackingStoreBytes (ExternalBackingStoreType type, size_t amount)
 
virtual size_t ExternalBackingStoreBytes (ExternalBackingStoreType type) const
 
V8_EXPORT_PRIVATE void * GetRandomMmapAddr ()
 
MemoryChunkfirst_page ()
 
MemoryChunklast_page ()
 
base::List< MemoryChunk > & memory_chunk_list ()
 
- Public Member Functions inherited from v8::internal::Malloced
void * operator new (size_t size)
 
void operator delete (void *p)
 

Static Public Member Functions

static void MoveExternalBackingStoreBytes (ExternalBackingStoreType type, Space *from, Space *to, size_t amount)
 
- Static Public Member Functions inherited from v8::internal::Malloced
static void * New (size_t size)
 
static void Delete (void *p)
 

Protected Member Functions

intptr_t GetNextInlineAllocationStepSize ()
 
bool AllocationObserversActive ()
 

Protected Attributes

std::vector< AllocationObserver * > allocation_observers_
 
base::List< MemoryChunkmemory_chunk_list_
 
std::atomic< size_t > * external_backing_store_bytes_
 

Detailed Description

Definition at line 938 of file spaces.h.


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