![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <heap-space.h>
Classes | |
| class | LinearAllocationBuffer |
Public Member Functions | |
| NormalPageSpace (RawHeap *heap, size_t index, bool is_compactable) | |
| LinearAllocationBuffer & | linear_allocation_buffer () |
| const LinearAllocationBuffer & | linear_allocation_buffer () const |
| FreeList & | free_list () |
| const FreeList & | free_list () const |
Public Member Functions inherited from cppgc::internal::BaseSpace | |
| BaseSpace (const BaseSpace &)=delete | |
| BaseSpace & | operator= (const BaseSpace &)=delete |
| virtual | ~BaseSpace () |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| size_t | size () const |
| bool | is_large () const |
| size_t | index () const |
| RawHeap * | raw_heap () |
| const RawHeap * | raw_heap () const |
| void | AddPage (BasePage *) |
| void | RemovePage (BasePage *) |
| Pages | RemoveAllPages () |
| v8::base::Mutex & | pages_mutex () const |
| bool | is_compactable () const |
Static Public Member Functions | |
| static NormalPageSpace & | From (BaseSpace &space) |
| static const NormalPageSpace & | From (const BaseSpace &space) |
Private Attributes | |
| LinearAllocationBuffer | current_lab_ |
| FreeList | free_list_ |
Additional Inherited Members | |
Public Types inherited from cppgc::internal::BaseSpace | |
| using | Pages = std::vector<BasePage*> |
| using | iterator = Pages::iterator |
| using | const_iterator = Pages::const_iterator |
Protected Types inherited from cppgc::internal::BaseSpace | |
| enum class | PageType { kNormal , kLarge } |
Protected Member Functions inherited from cppgc::internal::BaseSpace | |
| BaseSpace (RawHeap *heap, size_t index, PageType type, bool is_compactable) | |
Definition at line 68 of file heap-space.h.
| cppgc::internal::NormalPageSpace::NormalPageSpace | ( | RawHeap * | heap, |
| size_t | index, | ||
| bool | is_compactable ) |
Definition at line 44 of file heap-space.cc.
|
inline |
Definition at line 108 of file heap-space.h.
|
inline |
Definition at line 109 of file heap-space.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 97 of file heap-space.h.
|
inline |
|
inline |
Definition at line 104 of file heap-space.h.
|
private |
Definition at line 112 of file heap-space.h.
|
private |
Definition at line 113 of file heap-space.h.