v8
3.11.10(node0.8.26)
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 302 of file heap.h.
References ASSERT, PromotionQueue::is_empty(), and v8::internal::NULL.
|
inline |
Definition at line 310 of file heap.h.
Referenced by PromotionQueue::ActivateGuardIfOnTheSamePage(), PromotionQueue::insert(), and PromotionQueue::SetNewLimit().
void Initialize | ( | ) |
Definition at line 1104 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 329 of file heap.h.
References v8::internal::NULL.
Referenced by PromotionQueue::Destroy(), and PromotionQueue::remove().
|
inline |
Definition at line 336 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 314 of file heap.h.
References ASSERT, and PromotionQueue::GetHeadPage().
Referenced by NewSpace::AddFreshPage().