v8  3.14.5(node0.10.28)
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 297 of file heap.h.

Constructor & Destructor Documentation

PromotionQueue ( Heap heap)
inlineexplicit

Definition at line 299 of file heap.h.

Member Function Documentation

void Destroy ( )
inline

Definition at line 308 of file heap.h.

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

Page* GetHeadPage ( )
inline
bool is_empty ( )
inline

Definition at line 335 of file heap.h.

References v8::internal::NULL.

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

void SetNewLimit ( Address  limit)
inline

Definition at line 320 of file heap.h.

References ASSERT, and PromotionQueue::GetHeadPage().

Referenced by NewSpace::AddFreshPage().


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