v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <heap.h>
Public Member Functions | |
PromotionQueue (Heap *heap) | |
void | Initialize () |
void | Destroy () |
void | ActivateGuardIfOnTheSamePage () |
Page * | GetHeadPage () |
void | SetNewLimit (Address limit) |
bool | is_empty () |
void | insert (HeapObject *target, int size) |
void | remove (HeapObject **target, int *size) |
|
inlineexplicit |
|
inline |
Definition at line 78 of file heap-inl.h.
References NewSpace::active_space(), MemoryChunk::address(), NewSpacePage::address(), SemiSpace::current_page(), PromotionQueue::GetHeadPage(), and Heap::new_space().
Referenced by NewSpace::AddFreshPage(), and PromotionQueue::insert().
|
inline |
Definition at line 308 of file heap.h.
References ASSERT, PromotionQueue::is_empty(), and v8::internal::NULL.
|
inline |
Definition at line 316 of file heap.h.
Referenced by PromotionQueue::ActivateGuardIfOnTheSamePage(), PromotionQueue::insert(), and PromotionQueue::SetNewLimit().
void Initialize | ( | ) |
Definition at line 1172 of file heap.cc.
References ASSERT, MemoryChunk::kBodyOffset, Page::kPageSize, v8::internal::kPointerSize, Heap::new_space(), v8::internal::NULL, NewSpace::ToSpaceEnd(), and NewSpace::ToSpaceStart().
|
inline |
Definition at line 43 of file heap-inl.h.
References PromotionQueue::ActivateGuardIfOnTheSamePage(), List< T, P >::Add(), MemoryChunk::area_end(), ASSERT, SemiSpace::AssertValidRange(), NewSpacePage::FromAddress(), PromotionQueue::GetHeadPage(), HEAP, NewSpacePage::is_anchor(), NewSpacePage::IsAtStart(), v8::internal::NULL, and NewSpacePage::prev_page().
|
inline |
Definition at line 335 of file heap.h.
References v8::internal::NULL.
Referenced by PromotionQueue::Destroy(), and PromotionQueue::remove().
|
inline |
Definition at line 342 of file heap.h.
References MemoryChunk::area_end(), ASSERT, SemiSpace::AssertValidRange(), NewSpacePage::FromAddress(), NewSpacePage::is_anchor(), PromotionQueue::is_empty(), NewSpacePage::IsAtStart(), and NewSpacePage::prev_page().
|
inline |
Definition at line 320 of file heap.h.
References ASSERT, and PromotionQueue::GetHeadPage().
Referenced by NewSpace::AddFreshPage().