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

#include <spaces.h>

Public Member Functions

 FreeList (PagedSpace *owner)
 
intptr_t Concatenate (FreeList *free_list)
 
void Reset ()
 
intptr_t available ()
 
int Free (Address start, int size_in_bytes)
 
MUST_USE_RESULT HeapObjectAllocate (int size_in_bytes)
 
bool IsEmpty ()
 
void RepairLists (Heap *heap)
 
intptr_t EvictFreeListItems (Page *p)
 
bool ContainsPageFreeListItems (Page *p)
 
FreeListCategorysmall_list ()
 
FreeListCategorymedium_list ()
 
FreeListCategorylarge_list ()
 
FreeListCategoryhuge_list ()
 

Detailed Description

Definition at line 1619 of file spaces.h.

Constructor & Destructor Documentation

FreeList ( PagedSpace owner)
explicit

Definition at line 2202 of file spaces.cc.

References FreeList::Reset().

Member Function Documentation

intptr_t available ( )
inline
bool ContainsPageFreeListItems ( Page p)

Definition at line 2468 of file spaces.cc.

References FreeListCategory::EvictFreeListItemsInList().

Referenced by PagedSpace::ReleasePage().

intptr_t EvictFreeListItems ( Page p)

Definition at line 2451 of file spaces.cc.

References FreeListCategory::EvictFreeListItemsInList().

Referenced by PagedSpace::ReleasePage().

int Free ( Address  start,
int  size_in_bytes 
)
FreeListCategory* huge_list ( )
inline

Definition at line 1668 of file spaces.h.

Referenced by FreeList::Concatenate().

bool IsEmpty ( )
inline

Definition at line 1648 of file spaces.h.

References FreeListCategory::IsEmpty().

FreeListCategory* large_list ( )
inline

Definition at line 1667 of file spaces.h.

Referenced by FreeList::Concatenate().

FreeListCategory* medium_list ( )
inline

Definition at line 1666 of file spaces.h.

Referenced by FreeList::Concatenate().

void RepairLists ( Heap heap)

Definition at line 2476 of file spaces.cc.

References FreeListCategory::RepairFreeList().

Referenced by PagedSpace::RepairFreeListsAfterBoot().

void Reset ( )
FreeListCategory* small_list ( )
inline

Definition at line 1665 of file spaces.h.

Referenced by FreeList::Concatenate().


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