v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <spaces.h>
Public Member Functions | |
Space (Heap *heap, AllocationSpace id, Executability executable) | |
virtual | ~Space () |
Heap * | heap () const |
Executability | executable () |
AllocationSpace | identity () |
virtual intptr_t | Size ()=0 |
virtual intptr_t | SizeOfObjects () |
virtual int | RoundSizeDownToObjectAlignment (int size) |
Public Member Functions inherited from Malloced | |
void * | operator new (size_t size) |
void | operator delete (void *p) |
Additional Inherited Members | |
Static Public Member Functions inherited from Malloced | |
static void | FatalProcessOutOfMemory () |
static void * | New (size_t size) |
static void | Delete (void *p) |
|
inline |
|
inline |
Definition at line 903 of file spaces.h.
Referenced by SemiSpace::Commit(), PagedSpace::Expand(), and SemiSpace::GrowTo().
|
inline |
Definition at line 900 of file spaces.h.
Referenced by NewSpace::AddFreshPage(), PagedSpace::AdvanceSweeper(), FreeList::Allocate(), PagedSpace::AllocateRaw(), LargeObjectSpace::AllocateRaw(), LargeObjectSpace::Available(), MarkCompactCollector::CollectEvacuationCandidates(), SemiSpace::Commit(), PagedSpace::EnsureSweeperProgress(), PagedSpace::EvictEvacuationCandidatesFromFreeLists(), PagedSpace::Expand(), PagedSpace::FindObject(), LargeObjectSpace::FreeUnmarkedObjects(), SemiSpace::GrowTo(), PagedSpace::ReleasePage(), PagedSpace::RepairFreeListsAfterBoot(), NewSpace::ReportStatistics(), NewSpace::SetUp(), SemiSpace::ShrinkTo(), PagedSpace::SizeOfFirstPage(), PagedSpace::SizeOfObjects(), PagedSpace::SlowAllocateRaw(), PagedSpace::TearDown(), NewSpace::TearDown(), LargeObjectSpace::TearDown(), SemiSpace::Uncommit(), and NewSpace::UpdateInlineAllocationLimit().
|
inline |
Definition at line 906 of file spaces.h.
Referenced by MemoryAllocator::AllocateChunk(), PagedSpace::AllocateRaw(), LargeObjectSpace::AllocateRaw(), Heap::AllowedToBeMigrated(), MarkCompactCollector::CollectEvacuationCandidates(), MemoryAllocator::Free(), Heap::FreeQueuedChunks(), MarkCompactCollector::INLINE(), PagedSpace::SizeOfFirstPage(), LargeObjectSpace::TearDown(), MarkCompactCollector::TryPromoteObject(), and IncrementalMarkingMarkingVisitor::VisitFixedArrayIncremental().
|
inlinevirtual |
Reimplemented in PropertyCellSpace, CellSpace, and MapSpace.
Definition at line 915 of file spaces.h.
References v8::internal::CODE_SPACE, v8::internal::kCodeAlignment, v8::internal::kPointerSize, and v8::internal::RoundDown().
Referenced by FreeList::Allocate().
|
pure virtual |
Implemented in LargeObjectSpace, NewSpace, SemiSpace, and PagedSpace.
Referenced by Space::SizeOfObjects().
|
inlinevirtual |
Reimplemented in LargeObjectSpace, and PagedSpace.
Definition at line 913 of file spaces.h.
References Space::Size().