v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <spaces.h>
Static Public Member Functions | |
static bool | IsAtStart (Address addr) |
static bool | IsAtEnd (Address addr) |
static NewSpacePage * | FromAddress (Address address_in_page) |
static NewSpacePage * | FromLimit (Address address_limit) |
static bool | OnSamePage (Address address1, Address address2) |
Static Public Member Functions inherited from MemoryChunk | |
static MemoryChunk * | FromAddress (Address a) |
static MemoryChunk * | FromAnyPointerAddress (Heap *heap, Address addr) |
static void | IncrementLiveBytesFromGC (Address address, int by) |
static void | IncrementLiveBytesFromMutator (Address address, int by) |
static uint32_t | FastAddressToMarkbitIndex (Address addr) |
static void | UpdateHighWaterMark (Address mark) |
Static Public Attributes | |
static const intptr_t | kCopyOnFlipFlagsMask |
static const int | kAreaSize = Page::kMaxRegularHeapObjectSize |
Static Public Attributes inherited from MemoryChunk | |
static const int | kWriteBarrierCounterGranularity = 500 |
static const int | kPointersToHereAreInterestingMask |
static const int | kPointersFromHereAreInterestingMask |
static const int | kEvacuationCandidateMask |
static const int | kSkipEvacuationSlotsRecordingMask |
static const intptr_t | kAlignment |
static const intptr_t | kAlignmentMask = kAlignment - 1 |
static const intptr_t | kSizeOffset = 0 |
static const intptr_t | kLiveBytesOffset |
static const size_t | kSlotsBufferOffset = kLiveBytesOffset + kIntSize |
static const size_t | kWriteBarrierCounterOffset |
static const size_t | kHeaderSize |
static const int | kBodyOffset |
static const int | kObjectStartAlignment = 32 * kPointerSize |
static const int | kObjectStartOffset |
static const int | kFlagsOffset = kPointerSize |
Friends | |
class | SemiSpace |
class | SemiSpaceIterator |
|
inline |
Definition at line 2084 of file spaces.h.
Referenced by PromotionQueue::ActivateGuardIfOnTheSamePage().
|
inlinestatic |
Definition at line 2089 of file spaces.h.
References Page::kPageAlignmentMask.
Referenced by NewSpacePage::FromLimit(), PromotionQueue::insert(), NewSpacePage::OnSamePage(), PromotionQueue::remove(), Heap::ShouldBePromoted(), and SemiSpace::ShrinkTo().
|
inlinestatic |
Definition at line 2099 of file spaces.h.
References NewSpacePage::FromAddress().
Referenced by NewSpace::AddFreshPage(), SemiSpaceIterator::Next(), and SemiSpace::set_age_mark().
|
inline |
Definition at line 2073 of file spaces.h.
References MemoryChunk::InNewSpace().
Referenced by PromotionQueue::insert(), SemiSpaceIterator::Next(), and PromotionQueue::remove().
|
inlinestatic |
Definition at line 2080 of file spaces.h.
References Page::kPageAlignmentMask.
Referenced by SemiSpaceIterator::Next().
|
inlinestatic |
Definition at line 2075 of file spaces.h.
References MemoryChunk::kObjectStartOffset, and Page::kPageAlignmentMask.
Referenced by NewSpace::AddFreshPage(), PromotionQueue::insert(), and PromotionQueue::remove().
|
inline |
Definition at line 2053 of file spaces.h.
References MemoryChunk::next_chunk().
Referenced by SemiSpace::AdvancePage(), SemiSpace::first_page(), SemiSpaceIterator::Next(), SemiSpace::Reset(), SemiSpace::space_start(), and SemiSpace::Swap().
Definition at line 2104 of file spaces.h.
References NewSpacePage::FromAddress().
Referenced by Heap::UpdateAllocationSiteFeedback().
|
inline |
Definition at line 2061 of file spaces.h.
References MemoryChunk::prev_chunk().
Referenced by SemiSpace::GrowTo(), PromotionQueue::insert(), PromotionQueue::remove(), and SemiSpace::space_end().
|
inline |
Definition at line 2069 of file spaces.h.
References MemoryChunk::owner().
|
inline |
Definition at line 2057 of file spaces.h.
References MemoryChunk::set_next_chunk().
Referenced by SemiSpace::ShrinkTo(), and SemiSpace::Uncommit().
|
inline |
Definition at line 2065 of file spaces.h.
References MemoryChunk::set_prev_chunk().
Referenced by SemiSpace::ShrinkTo(), and SemiSpace::Uncommit().
|
friend |
|
static |
Definition at line 2051 of file spaces.h.
Referenced by NewSpace::EffectiveCapacity(), and NewSpace::Size().
|
static |
Definition at line 2046 of file spaces.h.
Referenced by SemiSpace::GrowTo(), and SemiSpace::Swap().