V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::SemiSpace Class Reference
Inheritance diagram for v8::internal::SemiSpace:
v8::internal::Space v8::internal::Malloced

Public Types

typedef PageIterator iterator
 

Public Member Functions

 SemiSpace (Heap *heap, SemiSpaceId semispace)
 
bool Contains (HeapObject *o)
 
bool Contains (Object *o)
 
bool ContainsSlow (Address a)
 
void SetUp (size_t initial_capacity, size_t maximum_capacity)
 
void TearDown ()
 
bool Commit ()
 
bool Uncommit ()
 
bool is_committed ()
 
bool GrowTo (size_t new_capacity)
 
bool ShrinkTo (size_t new_capacity)
 
bool EnsureCurrentCapacity ()
 
Address space_end ()
 
Address space_start ()
 
Pagecurrent_page ()
 
int pages_used ()
 
Address page_low ()
 
Address page_high ()
 
bool AdvancePage ()
 
void Reset ()
 
void RemovePage (Page *page)
 
void PrependPage (Page *page)
 
PageInitializePage (MemoryChunk *chunk, Executability executable)
 
Address age_mark ()
 
void set_age_mark (Address mark)
 
size_t current_capacity ()
 
size_t maximum_capacity ()
 
size_t minimum_capacity ()
 
SemiSpaceId id ()
 
size_t CommittedPhysicalMemory () override
 
size_t Size () override
 
size_t SizeOfObjects () override
 
size_t Available () override
 
Pagefirst_page ()
 
Pagelast_page ()
 
iterator begin ()
 
iterator end ()
 
std::unique_ptr< ObjectIteratorGetObjectIterator () override
 
- Public Member Functions inherited from v8::internal::Space
 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 int RoundSizeDownToObjectAlignment (int size)
 
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 Swap (SemiSpace *from, SemiSpace *to)
 
static void AssertValidRange (Address from, Address to)
 
- Static Public Member Functions inherited from v8::internal::Space
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)
 

Friends

class NewSpace
 
class SemiSpaceIterator
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::Space
intptr_t GetNextInlineAllocationStepSize ()
 
bool AllocationObserversActive ()
 
- Protected Attributes inherited from v8::internal::Space
std::vector< AllocationObserver * > allocation_observers_
 
base::List< MemoryChunkmemory_chunk_list_
 
std::atomic< size_t > * external_backing_store_bytes_
 

Detailed Description

Definition at line 2369 of file spaces.h.


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