![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <heap-page.h>
Classes | |
| class | IteratorImpl |
Public Types | |
| using | iterator = IteratorImpl<HeapObjectHeader> |
| using | const_iterator = IteratorImpl<const HeapObjectHeader> |
Static Public Member Functions | |
| static NormalPage * | TryCreate (PageBackend &, NormalPageSpace &) |
| static void | Destroy (NormalPage *) |
| static NormalPage * | From (BasePage *page) |
| static const NormalPage * | From (const BasePage *page) |
| static constexpr size_t | PayloadSize () |
Static Public Member Functions inherited from cppgc::internal::BasePage | |
| static BasePage * | FromPayload (void *) |
| static const BasePage * | FromPayload (const void *) |
| static BasePage * | FromInnerAddress (const HeapBase *, void *) |
| static const BasePage * | FromInnerAddress (const HeapBase *, const void *) |
| static void | Destroy (BasePage *) |
Static Public Member Functions inherited from cppgc::internal::BasePageHandle | |
| static V8_INLINE BasePageHandle * | FromPayload (void *payload) |
| static V8_INLINE const BasePageHandle * | FromPayload (const void *payload) |
Private Member Functions | |
| NormalPage (HeapBase &heap, BaseSpace &space) | |
| ~NormalPage ()=default | |
Private Attributes | |
| size_t | allocated_bytes_at_last_gc_ = 0 |
| PlatformAwareObjectStartBitmap | object_start_bitmap_ |
Additional Inherited Members | |
Protected Types inherited from cppgc::internal::BasePage | |
| enum class | PageType : uint8_t { kNormal , kLarge } |
Protected Member Functions inherited from cppgc::internal::BasePage | |
| BasePage (HeapBase &, BaseSpace &, PageType) | |
Protected Member Functions inherited from cppgc::internal::BasePageHandle | |
| BasePageHandle (HeapHandle &heap_handle) | |
Protected Attributes inherited from cppgc::internal::BasePageHandle | |
| HeapHandle & | heap_handle_ |
Definition at line 152 of file heap-page.h.
Definition at line 197 of file heap-page.h.
Definition at line 196 of file heap-page.h.
Definition at line 207 of file heap-page.cc.
|
privatedefault |
|
inline |
| NormalPage::iterator cppgc::internal::NormalPage::begin | ( | ) |
Definition at line 213 of file heap-page.cc.
| NormalPage::const_iterator cppgc::internal::NormalPage::begin | ( | ) | const |
|
static |
Definition at line 195 of file heap-page.cc.
|
inline |
Definition at line 216 of file heap-page.h.
|
inline |
Definition at line 219 of file heap-page.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 209 of file heap-page.h.
|
inline |
|
inline |
Definition at line 244 of file heap-page.h.
|
inline |
| Address cppgc::internal::NormalPage::PayloadEnd | ( | ) |
Definition at line 235 of file heap-page.cc.
| ConstAddress cppgc::internal::NormalPage::PayloadEnd | ( | ) | const |
|
inlinestaticconstexpr |
Definition at line 368 of file heap-page.h.
| Address cppgc::internal::NormalPage::PayloadStart | ( | ) |
| ConstAddress cppgc::internal::NormalPage::PayloadStart | ( | ) | const |
|
inline |
Definition at line 237 of file heap-page.h.
|
static |
Definition at line 164 of file heap-page.cc.
|
private |
Definition at line 252 of file heap-page.h.
|
private |
Definition at line 253 of file heap-page.h.