v8  3.25.30(node0.11.13)
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 415 of file heap.h.

Constructor & Destructor Documentation

PromotionQueue ( Heap heap)
inlineexplicit

Definition at line 417 of file heap.h.

Member Function Documentation

void Destroy ( )
inline

Definition at line 426 of file heap.h.

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

Page* GetHeadPage ( )
inline
bool is_empty ( )
inline

Definition at line 453 of file heap.h.

References v8::internal::NULL.

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

void SetNewLimit ( Address  limit)
inline

Definition at line 438 of file heap.h.

References ASSERT, and PromotionQueue::GetHeadPage().

Referenced by NewSpace::AddFreshPage().


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