v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PromotionQueue Class Reference

#include <heap.h>

Public Member Functions

 PromotionQueue (Heap *heap)
 
void Initialize ()
 
void Destroy ()
 
void ActivateGuardIfOnTheSamePage ()
 
PageGetHeadPage ()
 
void SetNewLimit (Address limit)
 
bool is_empty ()
 
void insert (HeapObject *target, int size)
 
void remove (HeapObject **target, int *size)
 

Detailed Description

Definition at line 291 of file heap.h.

Constructor & Destructor Documentation

PromotionQueue ( Heap heap)
inlineexplicit

Definition at line 293 of file heap.h.

Member Function Documentation

void Destroy ( )
inline

Definition at line 302 of file heap.h.

References ASSERT, PromotionQueue::is_empty(), and v8::internal::NULL.

Page* GetHeadPage ( )
inline
bool is_empty ( )
inline

Definition at line 329 of file heap.h.

References v8::internal::NULL.

Referenced by PromotionQueue::Destroy(), and PromotionQueue::remove().

void SetNewLimit ( Address  limit)
inline

Definition at line 314 of file heap.h.

References ASSERT, and PromotionQueue::GetHeadPage().

Referenced by NewSpace::AddFreshPage().


The documentation for this class was generated from the following files: