v8
3.14.5(node0.10.28)
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 785 of file spaces.h.
Referenced by SemiSpace::Commit(), PagedSpace::Expand(), and SemiSpace::GrowTo().
|
inline |
Definition at line 782 of file spaces.h.
Referenced by NewSpace::AddFreshPage(), PagedSpace::AdvanceSweeper(), PagedSpace::AllocateRaw(), LargeObjectSpace::AllocateRaw(), LargeObjectSpace::Available(), MarkCompactCollector::CollectEvacuationCandidates(), SemiSpace::Commit(), PagedSpace::EvictEvacuationCandidatesFromFreeLists(), PagedSpace::Expand(), PagedSpace::FindObject(), LargeObjectSpace::FreeUnmarkedObjects(), SemiSpace::GrowTo(), PagedSpace::ReleaseAllUnusedPages(), PagedSpace::ReleasePage(), PagedSpace::RepairFreeListsAfterBoot(), LargeObjectSpace::ReserveSpace(), NewSpace::SetUp(), SemiSpace::ShrinkTo(), PagedSpace::SlowAllocateRaw(), PagedSpace::TearDown(), NewSpace::TearDown(), LargeObjectSpace::TearDown(), SemiSpace::Uncommit(), and CellSpace::VerifyObject().
|
inline |
Definition at line 788 of file spaces.h.
Referenced by MemoryAllocator::AllocateChunk(), PagedSpace::AllocateRaw(), LargeObjectSpace::AllocateRaw(), MarkCompactCollector::CollectEvacuationCandidates(), MarkCompactCollector::EvictEvacuationCandidate(), MemoryAllocator::Free(), Heap::FreeQueuedChunks(), PagedSpace::SizeOfFirstPage(), LargeObjectSpace::TearDown(), and MarkCompactCollector::TryPromoteObject().
|
inlinevirtual |
Reimplemented in CellSpace, and MapSpace.
Definition at line 797 of file spaces.h.
References v8::internal::CODE_SPACE, v8::internal::kCodeAlignment, v8::internal::kPointerSize, and v8::internal::RoundDown().
Referenced by PagedSpace::ReserveSpace().
|
pure virtual |
Implemented in LargeObjectSpace, NewSpace, SemiSpace, and PagedSpace.
Referenced by Space::SizeOfObjects().
|
inlinevirtual |
Reimplemented in LargeObjectSpace, and PagedSpace.
Definition at line 795 of file spaces.h.
References Space::Size().