V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::CodeSpace Class Reference
Inheritance diagram for v8::internal::CodeSpace:
v8::internal::PagedSpace NON_EXPORTED_BASEpublic SpaceWithLinearArea

Public Member Functions

 CodeSpace (Heap *heap)
 
- Public Member Functions inherited from v8::internal::PagedSpace
 PagedSpace (Heap *heap, AllocationSpace id, Executability executable)
 
bool Contains (Address a)
 
bool Contains (Object *o)
 
bool ContainsSlow (Address addr)
 
Executability executable ()
 
void PrepareForMarkCompact ()
 
size_t Capacity ()
 
size_t CommittedPhysicalMemory () override
 
void ResetFreeListStatistics ()
 
void ClearStats ()
 
size_t Available () override
 
size_t Size () override
 
size_t SizeOfObjects () override
 
virtual size_t Waste ()
 
V8_WARN_UNUSED_RESULT AllocationResult AllocateRawUnaligned (int size_in_bytes, UpdateSkipList update_skip_list=UPDATE_SKIP_LIST)
 
V8_WARN_UNUSED_RESULT AllocationResult AllocateRawAligned (int size_in_bytes, AllocationAlignment alignment)
 
V8_WARN_UNUSED_RESULT AllocationResult AllocateRaw (int size_in_bytes, AllocationAlignment alignment)
 
size_t Free (Address start, size_t size_in_bytes, SpaceAccountingMode mode)
 
size_t AccountedFree (Address start, size_t size_in_bytes)
 
size_t UnaccountedFree (Address start, size_t size_in_bytes)
 
bool TryFreeLast (HeapObject *object, int object_size)
 
void ResetFreeList ()
 
void FreeLinearAllocationArea ()
 
void MarkLinearAllocationAreaBlack ()
 
void UnmarkLinearAllocationArea ()
 
void DecreaseAllocatedBytes (size_t bytes, Page *page)
 
void IncreaseAllocatedBytes (size_t bytes, Page *page)
 
void DecreaseCapacity (size_t bytes)
 
void IncreaseCapacity (size_t bytes)
 
void RefineAllocatedBytesAfterSweeping (Page *page)
 
PageInitializePage (MemoryChunk *chunk, Executability executable)
 
void ReleasePage (Page *page)
 
size_t AddPage (Page *page)
 
void RemovePage (Page *page)
 
PageRemovePageSafe (int size_in_bytes)
 
void SetReadAndExecutable ()
 
void SetReadAndWritable ()
 
bool CanExpand (size_t size)
 
int CountTotalPages ()
 
int AreaSize ()
 
virtual bool is_local ()
 
void MergeCompactionSpace (CompactionSpace *other)
 
virtual void RefillFreeList ()
 
FreeListfree_list ()
 
base::Mutexmutex ()
 
void UnlinkFreeListCategories (Page *page)
 
size_t RelinkFreeListCategories (Page *page)
 
Pagefirst_page ()
 
iterator begin ()
 
iterator end ()
 
void ShrinkImmortalImmovablePages ()
 
size_t ShrinkPageToHighWaterMark (Page *page)
 
std::unique_ptr< ObjectIteratorGetObjectIterator () override
 
void SetLinearAllocationArea (Address top, Address limit)
 

Additional Inherited Members

- Public Types inherited from v8::internal::PagedSpace
enum  UpdateSkipList { UPDATE_SKIP_LIST, IGNORE_SKIP_LIST }
 
typedef PageIterator iterator
 
- Static Public Attributes inherited from v8::internal::PagedSpace
static const size_t kCompactionMemoryWanted = 500 * KB
 
- Protected Member Functions inherited from v8::internal::PagedSpace
virtual bool snapshotable ()
 
bool HasPages ()
 
void TearDown ()
 
bool Expand ()
 
bool EnsureLinearAllocationArea (int size_in_bytes)
 
HeapObjectAllocateLinearly (int size_in_bytes)
 
HeapObjectTryAllocateLinearlyAligned (int *size_in_bytes, AllocationAlignment alignment)
 
V8_WARN_UNUSED_RESULT bool RefillLinearAllocationAreaFromFreeList (size_t size_in_bytes)
 
virtual V8_WARN_UNUSED_RESULT bool SweepAndRetryAllocation (int size_in_bytes)
 
virtual V8_WARN_UNUSED_RESULT bool SlowRefillLinearAllocationArea (int size_in_bytes)
 
V8_WARN_UNUSED_RESULT bool RawSlowRefillLinearAllocationArea (int size_in_bytes)
 
- Protected Attributes inherited from v8::internal::PagedSpace
Executability executable_
 
size_t area_size_
 
AllocationStats accounting_stats_
 
FreeList free_list_
 
base::Mutex space_mutex_
 

Detailed Description

Definition at line 2877 of file spaces.h.


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