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

Public Types

typedef LargePageIterator iterator
 

Public Member Functions

 LargeObjectSpace (Heap *heap)
 
 LargeObjectSpace (Heap *heap, AllocationSpace id)
 
void TearDown ()
 
V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT AllocationResult AllocateRaw (int object_size)
 
size_t Available () override
 
size_t Size () override
 
size_t SizeOfObjects () override
 
size_t CommittedPhysicalMemory () override
 
int PageCount ()
 
ObjectFindObject (Address a)
 
LargePageFindPage (Address a)
 
void ClearMarkingStateOfLiveObjects ()
 
void FreeUnmarkedObjects ()
 
void InsertChunkMapEntries (LargePage *page)
 
void RemoveChunkMapEntries (LargePage *page)
 
void RemoveChunkMapEntries (LargePage *page, Address free_start)
 
void PromoteNewLargeObject (LargePage *page)
 
bool Contains (HeapObject *obj)
 
bool ContainsSlow (Address addr)
 
bool IsEmpty ()
 
void Register (LargePage *page, size_t object_size)
 
void Unregister (LargePage *page, size_t object_size)
 
LargePagefirst_page ()
 
void CollectCodeStatistics ()
 
iterator begin ()
 
iterator end ()
 
std::unique_ptr< ObjectIteratorGetObjectIterator () override
 
base::Mutexchunk_map_mutex ()
 
- 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)
 

Protected Member Functions

LargePageAllocateLargePage (int object_size, Executability executable)
 
V8_WARN_UNUSED_RESULT AllocationResult AllocateRaw (int object_size, Executability executable)
 
- Protected Member Functions inherited from v8::internal::Space
intptr_t GetNextInlineAllocationStepSize ()
 
bool AllocationObserversActive ()
 

Protected Attributes

size_t size_
 
int page_count_
 
size_t objects_size_
 
- 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_
 

Friends

class LargeObjectIterator
 

Additional Inherited Members

- 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)
 

Detailed Description

Definition at line 2958 of file spaces.h.


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