![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <v8-platform.h>
Public Types | |
enum class | Type { kPkey } |
Public Member Functions | |
virtual | ~ThreadIsolatedAllocator ()=default |
virtual void * | Allocate (size_t size)=0 |
virtual void | Free (void *object)=0 |
virtual Type | Type () const =0 |
virtual int | Pkey () const |
Static Public Member Functions | |
static void | SetDefaultPermissionsForSignalHandler () |
An allocator that uses per-thread permissions to protect the memory.
The implementation is platform/hardware specific, e.g. using pkeys on x64.
INTERNAL ONLY: This interface has not been stabilised and may change without notice from one release to another without being deprecated first.
Definition at line 640 of file v8-platform.h.
|
strong |
Enumerator | |
---|---|
kPkey |
Definition at line 648 of file v8-platform.h.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Return the pkey used to implement the thread isolation if Type == kPkey.
Definition at line 657 of file v8-platform.h.
|
static |
|
pure virtual |