v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::SharedMemory Class Reference
Inheritance diagram for v8::base::SharedMemory:
Collaboration diagram for v8::base::SharedMemory:

Public Member Functions

 SharedMemory (PageAllocator *allocator, void *memory, size_t size)
 
void * GetMemory () const override
 
size_t GetSize () const override
 
std::unique_ptr<::v8::PageAllocator::SharedMemoryMappingRemapTo (void *new_address) const override
 
 ~SharedMemory () override
 
- Public Member Functions inherited from v8::PageAllocator::SharedMemory

Private Attributes

PageAllocatorallocator_
 
void * ptr_
 
size_t size_
 

Detailed Description

Definition at line 73 of file page-allocator.cc.

Constructor & Destructor Documentation

◆ SharedMemory()

v8::base::SharedMemory::SharedMemory ( PageAllocator * allocator,
void * memory,
size_t size )
inline

Definition at line 75 of file page-allocator.cc.

◆ ~SharedMemory()

v8::base::SharedMemory::~SharedMemory ( )
inlineoverridevirtual

Reimplemented from v8::PageAllocator::SharedMemory.

Definition at line 89 of file page-allocator.cc.

Here is the call graph for this function:

Member Function Documentation

◆ GetMemory()

void * v8::base::SharedMemory::GetMemory ( ) const
inlineoverridevirtual

Implements v8::PageAllocator::SharedMemory.

Definition at line 77 of file page-allocator.cc.

◆ GetSize()

size_t v8::base::SharedMemory::GetSize ( ) const
inlineoverridevirtual

Implements v8::PageAllocator::SharedMemory.

Definition at line 78 of file page-allocator.cc.

◆ RemapTo()

std::unique_ptr<::v8::PageAllocator::SharedMemoryMapping > v8::base::SharedMemory::RemapTo ( void * new_address) const
inlineoverridevirtual

Implements v8::PageAllocator::SharedMemory.

Definition at line 79 of file page-allocator.cc.

Here is the call graph for this function:

Member Data Documentation

◆ allocator_

PageAllocator* v8::base::SharedMemory::allocator_
private

Definition at line 92 of file page-allocator.cc.

◆ ptr_

void* v8::base::SharedMemory::ptr_
private

Definition at line 93 of file page-allocator.cc.

◆ size_

size_t v8::base::SharedMemory::size_
private

Definition at line 94 of file page-allocator.cc.


The documentation for this class was generated from the following file: