#include <backing-store.h>
|
static std::unique_ptr< BackingStore > | Allocate (Isolate *isolate, size_t byte_length, SharedFlag shared, InitializedFlag initialized) |
|
static std::unique_ptr< BackingStore > | TryAllocateAndPartiallyCommitMemory (Isolate *isolate, size_t byte_length, size_t max_byte_length, size_t page_size, size_t initial_pages, size_t maximum_pages, WasmMemoryFlag wasm_memory, SharedFlag shared, bool has_guard_regions=false) |
|
static std::unique_ptr< BackingStore > | WrapAllocation (void *allocation_base, size_t allocation_length, v8::BackingStore::DeleterCallback deleter, void *deleter_data, SharedFlag shared) |
|
static std::unique_ptr< BackingStore > | EmptyBackingStore (SharedFlag shared) |
|
|
| BackingStore (PageAllocator *page_allocator, void *buffer_start, size_t byte_length, size_t max_byte_length, size_t byte_capacity, SharedFlag shared, ResizableFlag resizable, bool is_wasm_memory, bool is_wasm_memory64, bool has_guard_regions, bool custom_deleter, bool empty_deleter) |
|
| BackingStore (const BackingStore &)=delete |
|
BackingStore & | operator= (const BackingStore &)=delete |
|
void | SetAllocatorFromIsolate (Isolate *isolate) |
|
v8::ArrayBuffer::Allocator * | get_v8_api_array_buffer_allocator () |
|
SharedWasmMemoryData * | get_shared_wasm_memory_data () const |
|
bool | has_flag (Flag flag) const |
|
void | set_flag (Flag flag) |
|
void | clear_flag (Flag flag) |
|
bool | holds_shared_ptr_to_allocator () const |
|
bool | custom_deleter () const |
|
bool | globally_registered () const |
|
Definition at line 45 of file backing-store.h.
◆ Flag
Enumerator |
---|
kIsShared | |
kIsResizableByJs | |
kIsWasmMemory | |
kIsWasmMemory64 | |
kHoldsSharedPtrToAllocater | |
kHasGuardRegions | |
kGloballyRegistered | |
kCustomDeleter | |
kEmptyDeleter | |
Definition at line 189 of file backing-store.h.
◆ ResizeOrGrowResult
◆ ~BackingStore()
v8::internal::BackingStore::~BackingStore |
( |
| ) |
|
◆ BackingStore() [1/2]
v8::internal::BackingStore::BackingStore |
( |
PageAllocator * | page_allocator, |
|
|
void * | buffer_start, |
|
|
size_t | byte_length, |
|
|
size_t | max_byte_length, |
|
|
size_t | byte_capacity, |
|
|
SharedFlag | shared, |
|
|
ResizableFlag | resizable, |
|
|
bool | is_wasm_memory, |
|
|
bool | is_wasm_memory64, |
|
|
bool | has_guard_regions, |
|
|
bool | custom_deleter, |
|
|
bool | empty_deleter ) |
|
private |
◆ BackingStore() [2/2]
v8::internal::BackingStore::BackingStore |
( |
const BackingStore & | | ) |
|
|
privatedelete |
◆ Allocate()
◆ buffer_start()
void * v8::internal::BackingStore::buffer_start |
( |
| ) |
const |
|
inline |
◆ byte_capacity()
size_t v8::internal::BackingStore::byte_capacity |
( |
| ) |
const |
|
inline |
◆ byte_length()
size_t v8::internal::BackingStore::byte_length |
( |
std::memory_order | memory_order = std::memory_order_relaxed | ) |
const |
|
inline |
◆ clear_flag()
void v8::internal::BackingStore::clear_flag |
( |
Flag | flag | ) |
|
|
inlineprivate |
◆ custom_deleter()
bool v8::internal::BackingStore::custom_deleter |
( |
| ) |
const |
|
inlineprivate |
◆ EmptyBackingStore()
◆ get_shared_wasm_memory_data()
◆ get_v8_api_array_buffer_allocator()
◆ globally_registered()
bool v8::internal::BackingStore::globally_registered |
( |
| ) |
const |
|
inlineprivate |
◆ GrowInPlace()
◆ has_flag()
bool v8::internal::BackingStore::has_flag |
( |
Flag | flag | ) |
const |
|
inlineprivate |
◆ has_guard_regions()
bool v8::internal::BackingStore::has_guard_regions |
( |
| ) |
const |
|
inline |
◆ holds_shared_ptr_to_allocator()
bool v8::internal::BackingStore::holds_shared_ptr_to_allocator |
( |
| ) |
const |
|
inlineprivate |
◆ id()
uint32_t v8::internal::BackingStore::id |
( |
| ) |
const |
|
inline |
◆ is_resizable_by_js()
bool v8::internal::BackingStore::is_resizable_by_js |
( |
| ) |
const |
|
inline |
◆ is_shared()
bool v8::internal::BackingStore::is_shared |
( |
| ) |
const |
|
inline |
◆ is_wasm_memory()
bool v8::internal::BackingStore::is_wasm_memory |
( |
| ) |
const |
|
inline |
◆ is_wasm_memory64()
bool v8::internal::BackingStore::is_wasm_memory64 |
( |
| ) |
const |
|
inline |
◆ IsEmpty()
bool v8::internal::BackingStore::IsEmpty |
( |
| ) |
const |
|
inline |
◆ max_byte_length()
size_t v8::internal::BackingStore::max_byte_length |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ PerIsolateAccountingLength()
size_t v8::internal::BackingStore::PerIsolateAccountingLength |
( |
| ) |
|
|
inline |
◆ ResizeInPlace()
◆ set_flag()
void v8::internal::BackingStore::set_flag |
( |
Flag | flag | ) |
|
|
inlineprivate |
◆ SetAllocatorFromIsolate()
void v8::internal::BackingStore::SetAllocatorFromIsolate |
( |
Isolate * | isolate | ) |
|
|
private |
◆ TryAllocateAndPartiallyCommitMemory()
◆ WrapAllocation()
◆ GlobalBackingStoreRegistry
◆ buffer_start_
void* v8::internal::BackingStore::buffer_start_ = nullptr |
|
private |
◆ byte_capacity_
size_t v8::internal::BackingStore::byte_capacity_ |
|
private |
◆ byte_length_
std::atomic<size_t> v8::internal::BackingStore::byte_length_ |
|
private |
◆ flags_
◆ id_
const uint32_t v8::internal::BackingStore::id_ |
|
private |
◆ max_byte_length_
size_t v8::internal::BackingStore::max_byte_length_ |
|
private |
◆ page_allocator_
◆ type_specific_data_
The documentation for this class was generated from the following files: