![]() |
v8
3.11.10(node0.8.26)
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) |
| virtual bool | ReserveSpace (int bytes)=0 |
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 769 of file spaces.h.
Referenced by SemiSpace::Commit(), PagedSpace::Expand(), and SemiSpace::GrowTo().
|
inline |
Definition at line 766 of file spaces.h.
Referenced by NewSpace::AddFreshPage(), PagedSpace::AdvanceSweeper(), LargeObjectSpace::AllocateRaw(), LargeObjectSpace::Available(), MarkCompactCollector::CollectEvacuationCandidates(), SemiSpace::Commit(), PagedSpace::EvictEvacuationCandidatesFromFreeLists(), PagedSpace::Expand(), PagedSpace::FindObject(), LargeObjectSpace::FreeUnmarkedObjects(), SemiSpace::GrowTo(), PagedSpace::ReleaseAllUnusedPages(), PagedSpace::ReleasePage(), LargeObjectSpace::ReserveSpace(), NewSpace::SetUp(), SemiSpace::ShrinkTo(), PagedSpace::SlowAllocateRaw(), PagedSpace::TearDown(), NewSpace::TearDown(), LargeObjectSpace::TearDown(), and SemiSpace::Uncommit().
|
inline |
Definition at line 772 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().
|
pure virtual |
Implemented in LargeObjectSpace, NewSpace, SemiSpace, and PagedSpace.
|
inlinevirtual |
Reimplemented in CellSpace, and MapSpace.
Definition at line 781 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 779 of file spaces.h.
References Space::Size().