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

#include <spaces.h>

Public Member Functions

 FreeListCategory ()
 
intptr_t Concatenate (FreeListCategory *category)
 
void Reset ()
 
void Free (FreeListNode *node, int size_in_bytes)
 
FreeListNodePickNodeFromList (int *node_size)
 
FreeListNodePickNodeFromList (int size_in_bytes, int *node_size)
 
intptr_t EvictFreeListItemsInList (Page *p)
 
bool ContainsPageFreeListItemsInList (Page *p)
 
void RepairFreeList (Heap *heap)
 
FreeListNodetop () const
 
void set_top (FreeListNode *top)
 
FreeListNode ** GetEndAddress ()
 
FreeListNodeend () const
 
void set_end (FreeListNode *end)
 
int * GetAvailableAddress ()
 
int available () const
 
void set_available (int available)
 
Mutex * mutex ()
 
bool IsEmpty ()
 

Detailed Description

Definition at line 1537 of file spaces.h.

Constructor & Destructor Documentation

FreeListCategory ( )
inline

Definition at line 1539 of file spaces.h.

Member Function Documentation

int available ( ) const
inline
bool ContainsPageFreeListItemsInList ( Page p)
FreeListNode* end ( ) const
inline

Definition at line 1567 of file spaces.h.

Referenced by FreeListCategory::Concatenate(), and FreeListCategory::set_end().

void Free ( FreeListNode node,
int  size_in_bytes 
)
int* GetAvailableAddress ( )
inline

Definition at line 1570 of file spaces.h.

FreeListNode** GetEndAddress ( )
inline

Definition at line 1566 of file spaces.h.

bool IsEmpty ( )
inline

Definition at line 1576 of file spaces.h.

References FreeListCategory::top().

Referenced by FreeList::IsEmpty().

Mutex* mutex ( )
inline

Definition at line 1574 of file spaces.h.

Referenced by FreeListCategory::Concatenate().

FreeListNode * PickNodeFromList ( int  size_in_bytes,
int *  node_size 
)
void RepairFreeList ( Heap heap)
void set_available ( int  available)
inline

Definition at line 1572 of file spaces.h.

References FreeListCategory::available().

Referenced by FreeListCategory::Reset().


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