![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <heap-space.h>
Public Member Functions | |
LargePageSpace (RawHeap *heap, size_t index) | |
![]() | |
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 LargePageSpace & | From (BaseSpace &space) |
static const LargePageSpace & | From (const BaseSpace &space) |
Additional Inherited Members | |
![]() | |
using | Pages = std::vector<BasePage*> |
using | iterator = Pages::iterator |
using | const_iterator = Pages::const_iterator |
![]() | |
enum class | PageType { kNormal , kLarge } |
![]() | |
BaseSpace (RawHeap *heap, size_t index, PageType type, bool is_compactable) | |
Definition at line 116 of file heap-space.h.
cppgc::internal::LargePageSpace::LargePageSpace | ( | RawHeap * | heap, |
size_t | index ) |
Definition at line 48 of file heap-space.cc.
|
inlinestatic |
|
inlinestatic |
Definition at line 122 of file heap-space.h.