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
MarkingDeque Class Reference

#include <mark-compact.h>

Public Member Functions

 MarkingDeque ()
 
void Initialize (Address low, Address high)
 
bool IsFull ()
 
bool IsEmpty ()
 
bool overflowed () const
 
void ClearOverflowed ()
 
void SetOverflowed ()
 
void PushBlack (HeapObject *object)
 
void PushGrey (HeapObject *object)
 
HeapObjectPop ()
 
void UnshiftGrey (HeapObject *object)
 
HeapObject ** array ()
 
int bottom ()
 
int top ()
 
int mask ()
 
void set_top (int top)
 

Detailed Description

Definition at line 170 of file mark-compact.h.

Constructor & Destructor Documentation

MarkingDeque ( )
inline

Definition at line 172 of file mark-compact.h.

Member Function Documentation

HeapObject** array ( )
inline

Definition at line 237 of file mark-compact.h.

Referenced by IncrementalMarking::UpdateMarkingDequeAfterScavenge().

int bottom ( )
inline

Definition at line 238 of file mark-compact.h.

Referenced by IncrementalMarking::UpdateMarkingDequeAfterScavenge().

void ClearOverflowed ( )
inline

Definition at line 190 of file mark-compact.h.

void Initialize ( Address  low,
Address  high 
)
inline

Definition at line 175 of file mark-compact.h.

References v8::internal::RoundDownToPowerOf2().

Referenced by TEST().

bool IsFull ( )
inline
int mask ( )
inline

Definition at line 240 of file mark-compact.h.

Referenced by IncrementalMarking::UpdateMarkingDequeAfterScavenge().

bool overflowed ( ) const
inline

Definition at line 188 of file mark-compact.h.

HeapObject* Pop ( )
inline

Definition at line 219 of file mark-compact.h.

References ASSERT, and MarkingDeque::IsEmpty().

Referenced by IncrementalMarking::Hurry(), IncrementalMarking::Step(), and TEST().

void PushGrey ( HeapObject object)
inline
void set_top ( int  top)
inline

Definition at line 241 of file mark-compact.h.

References MarkingDeque::top().

Referenced by IncrementalMarking::UpdateMarkingDequeAfterScavenge().

void SetOverflowed ( )
inline
int top ( )
inline
void UnshiftGrey ( HeapObject object)
inline

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