v8
3.25.30(node0.11.13)
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 81 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 426 of file heap.h.
References ASSERT, PromotionQueue::is_empty(), and v8::internal::NULL.
|
inline |
Definition at line 434 of file heap.h.
Referenced by PromotionQueue::ActivateGuardIfOnTheSamePage(), PromotionQueue::insert(), and PromotionQueue::SetNewLimit().
void Initialize | ( | ) |
Definition at line 1449 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 46 of file heap-inl.h.
References PromotionQueue::ActivateGuardIfOnTheSamePage(), List< T, P >::Add(), MemoryChunk::area_end(), ASSERT, SemiSpace::AssertValidRange(), NewSpacePage::FromAddress(), PromotionQueue::GetHeadPage(), HeapObject::GetIsolate(), Isolate::heap(), NewSpacePage::is_anchor(), NewSpacePage::IsAtStart(), Heap::new_space(), v8::internal::NULL, NewSpacePage::prev_page(), and NewSpace::top().
|
inline |
Definition at line 453 of file heap.h.
References v8::internal::NULL.
Referenced by PromotionQueue::Destroy(), and PromotionQueue::remove().
|
inline |
Definition at line 460 of file heap.h.
References MemoryChunk::area_end(), ASSERT, SemiSpace::AssertValidRange(), NewSpacePage::FromAddress(), NewSpacePage::is_anchor(), PromotionQueue::is_empty(), NewSpacePage::IsAtStart(), NewSpacePage::prev_page(), and v8::internal::size.
|
inline |
Definition at line 438 of file heap.h.
References ASSERT, and PromotionQueue::GetHeadPage().
Referenced by NewSpace::AddFreshPage().