v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <spaces.h>
Public Member Functions | |
FreeListCategory () | |
intptr_t | Concatenate (FreeListCategory *category) |
void | Reset () |
void | Free (FreeListNode *node, int size_in_bytes) |
FreeListNode * | PickNodeFromList (int *node_size) |
FreeListNode * | PickNodeFromList (int size_in_bytes, int *node_size) |
intptr_t | EvictFreeListItemsInList (Page *p) |
bool | ContainsPageFreeListItemsInList (Page *p) |
void | RepairFreeList (Heap *heap) |
FreeListNode * | top () const |
void | set_top (FreeListNode *top) |
FreeListNode ** | GetEndAddress () |
FreeListNode * | end () const |
void | set_end (FreeListNode *end) |
int * | GetAvailableAddress () |
int | available () const |
void | set_available (int available) |
Mutex * | mutex () |
bool | IsEmpty () |
|
inline |
|
inline |
Definition at line 1571 of file spaces.h.
Referenced by FreeList::available(), FreeListCategory::Concatenate(), and FreeListCategory::set_available().
intptr_t Concatenate | ( | FreeListCategory * | category | ) |
Definition at line 2076 of file spaces.cc.
References ASSERT, FreeListCategory::available(), FreeListCategory::end(), FreeListCategory::mutex(), v8::internal::NoBarrier_Store(), v8::internal::NULL, FreeListCategory::Reset(), FreeListNode::set_next(), FreeListCategory::set_top(), and FreeListCategory::top().
Referenced by FreeList::Concatenate().
bool ContainsPageFreeListItemsInList | ( | Page * | p | ) |
Definition at line 2129 of file spaces.cc.
References HeapObject::address(), MemoryChunk::FromAddress(), FreeListNode::next(), v8::internal::NULL, and FreeListCategory::top().
|
inline |
Definition at line 1567 of file spaces.h.
Referenced by FreeListCategory::Concatenate(), and FreeListCategory::set_end().
intptr_t EvictFreeListItemsInList | ( | Page * | p | ) |
Definition at line 2107 of file spaces.cc.
References MemoryChunk::FromAddress(), FreeListNode::next(), FreeListNode::next_address(), v8::internal::NULL, FreeListCategory::set_end(), FreeListCategory::set_top(), FreeSpace::Size(), and FreeListCategory::top().
Referenced by FreeList::ContainsPageFreeListItems(), and FreeList::EvictFreeListItems().
void Free | ( | FreeListNode * | node, |
int | size_in_bytes | ||
) |
Definition at line 2178 of file spaces.cc.
References v8::internal::NULL, FreeListNode::set_next(), FreeListCategory::set_top(), and FreeListCategory::top().
Referenced by FreeList::Free(), and FreeListCategory::PickNodeFromList().
|
inline |
|
inline |
Definition at line 1576 of file spaces.h.
References FreeListCategory::top().
Referenced by FreeList::IsEmpty().
|
inline |
Definition at line 1574 of file spaces.h.
Referenced by FreeListCategory::Concatenate().
FreeListNode * PickNodeFromList | ( | int * | node_size | ) |
Definition at line 2139 of file spaces.cc.
References HeapObject::address(), MemoryChunk::FromAddress(), FreeListNode::next(), v8::internal::NULL, FreeListCategory::set_end(), FreeListCategory::set_top(), and FreeListCategory::top().
Referenced by FreeListCategory::PickNodeFromList().
FreeListNode * PickNodeFromList | ( | int | size_in_bytes, |
int * | node_size | ||
) |
Definition at line 2166 of file spaces.cc.
References FreeListCategory::Free(), v8::internal::NULL, and FreeListCategory::PickNodeFromList().
void RepairFreeList | ( | Heap * | heap | ) |
Definition at line 2188 of file spaces.cc.
References HeapObject::address(), ASSERT, FreeListNode::next(), v8::internal::NULL, and FreeListCategory::top().
Referenced by FreeList::RepairLists().
void Reset | ( | ) |
Definition at line 2100 of file spaces.cc.
References v8::internal::NULL, FreeListCategory::set_available(), FreeListCategory::set_end(), and FreeListCategory::set_top().
Referenced by FreeListCategory::Concatenate(), and FreeList::Reset().
|
inline |
Definition at line 1572 of file spaces.h.
References FreeListCategory::available().
Referenced by FreeListCategory::Reset().
|
inline |
Definition at line 1568 of file spaces.h.
References FreeListCategory::end().
Referenced by FreeListCategory::EvictFreeListItemsInList(), FreeListCategory::PickNodeFromList(), and FreeListCategory::Reset().
|
inline |
Definition at line 1562 of file spaces.h.
References v8::internal::NoBarrier_Store().
Referenced by FreeListCategory::Concatenate(), FreeListCategory::EvictFreeListItemsInList(), FreeListCategory::Free(), FreeListCategory::PickNodeFromList(), and FreeListCategory::Reset().
|
inline |
Definition at line 1558 of file spaces.h.
References v8::internal::NoBarrier_Load().
Referenced by FreeListCategory::Concatenate(), FreeListCategory::ContainsPageFreeListItemsInList(), FreeListCategory::EvictFreeListItemsInList(), FreeListCategory::Free(), FreeListCategory::IsEmpty(), FreeListCategory::PickNodeFromList(), and FreeListCategory::RepairFreeList().