#include <wasm-code-pointer-table.h>
|
| | WasmCodePointerTable ()=default |
| |
| | WasmCodePointerTable (const WasmCodePointerTable &)=delete |
| |
| WasmCodePointerTable & | operator= (const WasmCodePointerTable &)=delete |
| |
| void | Initialize () |
| |
| void | TearDown () |
| |
| Address | GetEntrypoint (WasmCodePointer index, uint64_t signature_hash) const |
| |
| Address | GetEntrypointWithoutSignatureCheck (WasmCodePointer index) const |
| |
| void | UpdateEntrypoint (WasmCodePointer index, Address value, uint64_t signature_hash) |
| |
| void | SetEntrypointAndSignature (WasmCodePointer index, Address value, uint64_t signature_hash) |
| |
| void | SetEntrypointWithWriteScope (WasmCodePointer index, Address value, uint64_t signature_hash, WriteScope &write_scope) |
| |
| WasmCodePointer | AllocateAndInitializeEntry (Address entrypoint, uint64_t signature_hash) |
| |
| WasmCodePointer | AllocateUninitializedEntry () |
| |
| void | FreeEntry (WasmCodePointer index) |
| |
| void | SweepSegments (size_t threshold=2 *kEntriesPerSegment) |
| |
| WasmCodePointer | GetOrCreateHandleForNativeFunction (Address addr) |
| |
| bool | EntrypointEqualTo (WasmCodePointer index, Address address) |
| |
|
| static constexpr FreelistHead | kRetryMarker = FreelistHead(0xffffffff, 0) |
| |
Definition at line 65 of file wasm-code-pointer-table.h.
◆ Base
◆ Handle
◆ WriteScope
◆ WasmCodePointerTable() [1/2]
| v8::internal::wasm::WasmCodePointerTable::WasmCodePointerTable |
( |
| ) |
|
|
default |
◆ WasmCodePointerTable() [2/2]
◆ AllocateAndInitializeEntry()
| WasmCodePointer v8::internal::wasm::WasmCodePointerTable::AllocateAndInitializeEntry |
( |
Address | entrypoint, |
|
|
uint64_t | signature_hash ) |
|
inline |
◆ AllocateEntryFromFreelistNonAtomic()
| uint32_t v8::internal::wasm::WasmCodePointerTable::AllocateEntryFromFreelistNonAtomic |
( |
FreelistHead * | freelist_head | ) |
|
|
private |
◆ AllocateEntryImpl()
| uint32_t v8::internal::wasm::WasmCodePointerTable::AllocateEntryImpl |
( |
| ) |
|
|
private |
◆ AllocateUninitializedEntry()
| WasmCodePointer v8::internal::wasm::WasmCodePointerTable::AllocateUninitializedEntry |
( |
| ) |
|
|
inline |
◆ EntrypointEqualTo()
◆ FreeEntry()
◆ FreelistToVector()
| std::vector< uint32_t > v8::internal::wasm::WasmCodePointerTable::FreelistToVector |
( |
FreelistHead | freelist | ) |
|
|
private |
◆ FreeNativeFunctionHandles()
| void v8::internal::wasm::WasmCodePointerTable::FreeNativeFunctionHandles |
( |
| ) |
|
|
private |
◆ GetEntrypoint()
| Address v8::internal::wasm::WasmCodePointerTable::GetEntrypoint |
( |
WasmCodePointer | index, |
|
|
uint64_t | signature_hash ) const |
|
inline |
◆ GetEntrypointWithoutSignatureCheck()
| Address v8::internal::wasm::WasmCodePointerTable::GetEntrypointWithoutSignatureCheck |
( |
WasmCodePointer | index | ) |
const |
|
inline |
◆ GetOrCreateHandleForNativeFunction()
◆ Initialize()
| void v8::internal::wasm::WasmCodePointerTable::Initialize |
( |
| ) |
|
◆ IsRetryMarker()
| static bool v8::internal::wasm::WasmCodePointerTable::IsRetryMarker |
( |
FreelistHead | freelist | ) |
|
|
inlinestaticprivate |
◆ LinkFreelist()
| WasmCodePointerTable::FreelistHead v8::internal::wasm::WasmCodePointerTable::LinkFreelist |
( |
FreelistHead | new_freelist, |
|
|
uint32_t | last_element ) |
|
private |
◆ operator=()
◆ ReadFreelistHead()
| WasmCodePointerTable::FreelistHead v8::internal::wasm::WasmCodePointerTable::ReadFreelistHead |
( |
| ) |
|
|
private |
◆ SetEntrypointAndSignature()
| void v8::internal::wasm::WasmCodePointerTable::SetEntrypointAndSignature |
( |
WasmCodePointer | index, |
|
|
Address | value, |
|
|
uint64_t | signature_hash ) |
|
inline |
◆ SetEntrypointWithWriteScope()
◆ SweepSegments()
◆ TearDown()
| void v8::internal::wasm::WasmCodePointerTable::TearDown |
( |
| ) |
|
◆ TryAllocateFromFreelist()
| bool v8::internal::wasm::WasmCodePointerTable::TryAllocateFromFreelist |
( |
uint32_t * | index | ) |
|
|
private |
◆ UpdateEntrypoint()
◆ VectorToFreelist()
| WasmCodePointerTable::FreelistHead v8::internal::wasm::WasmCodePointerTable::VectorToFreelist |
( |
std::vector< uint32_t > | entries | ) |
|
|
private |
◆ ::v8::internal::ExternalReference
◆ WasmCodePointerTableTest
| friend class WasmCodePointerTableTest |
|
friend |
◆ freelist_head_
| std::atomic<FreelistHead> v8::internal::wasm::WasmCodePointerTable::freelist_head_ = FreelistHead() |
|
private |
◆ kInvalidHandle
| Handle v8::internal::wasm::WasmCodePointerTable::kInvalidHandle = -1 |
|
staticconstexpr |
◆ kRetryMarker
| FreelistHead v8::internal::wasm::WasmCodePointerTable::kRetryMarker = FreelistHead(0xffffffff, 0) |
|
staticconstexprprivate |
◆ native_function_map_
◆ native_function_map_mutex_
| base::Mutex v8::internal::wasm::WasmCodePointerTable::native_function_map_mutex_ |
|
private |
◆ segment_allocation_mutex_
| base::Mutex v8::internal::wasm::WasmCodePointerTable::segment_allocation_mutex_ |
|
private |
The documentation for this class was generated from the following files: