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
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 ()
 
 INLINE (void PushBlack(HeapObject *object))
 
 INLINE (void PushGrey(HeapObject *object))
 
 INLINE (HeapObject *Pop())
 
 INLINE (void UnshiftGrey(HeapObject *object))
 
HeapObject ** array ()
 
int bottom ()
 
int top ()
 
int mask ()
 
void set_top (int top)
 

Detailed Description

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

Constructor & Destructor Documentation

MarkingDeque ( )
inline

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

Member Function Documentation

HeapObject** array ( )
inline

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

Referenced by IncrementalMarking::UpdateMarkingDequeAfterScavenge().

int bottom ( )
inline

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

Referenced by IncrementalMarking::UpdateMarkingDequeAfterScavenge().

void ClearOverflowed ( )
inline

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

void Initialize ( Address  low,
Address  high 
)
inline

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

References v8::internal::RoundDownToPowerOf2().

Referenced by TEST().

INLINE ( void   PushBlackHeapObject *object)
inline
INLINE ( void   PushGreyHeapObject *object)
inline

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

References ASSERT, MarkingDeque::IsFull(), and MarkingDeque::SetOverflowed().

INLINE ( HeapObject Pop())
inline

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

References ASSERT, and MarkingDeque::IsEmpty().

INLINE ( void   UnshiftGreyHeapObject *object)
inline

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

References ASSERT, MarkingDeque::IsFull(), and MarkingDeque::SetOverflowed().

bool IsEmpty ( )
inline
bool IsFull ( )
inline
int mask ( )
inline

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

Referenced by IncrementalMarking::UpdateMarkingDequeAfterScavenge().

bool overflowed ( ) const
inline

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

void set_top ( int  top)
inline

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

References MarkingDeque::top().

Referenced by IncrementalMarking::UpdateMarkingDequeAfterScavenge().

void SetOverflowed ( )
inline

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

Referenced by MarkingDeque::INLINE().

int top ( )
inline

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