v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::VirtualMemoryCage Class Reference

#include <allocation.h>

Inheritance diagram for v8::internal::VirtualMemoryCage:
Collaboration diagram for v8::internal::VirtualMemoryCage:

Classes

struct  ReservationParams
 

Public Member Functions

 VirtualMemoryCage ()
 
virtual ~VirtualMemoryCage ()
 
 VirtualMemoryCage (const VirtualMemoryCage &)=delete
 
VirtualMemoryCageoperator= (VirtualMemoryCage &)=delete
 
 VirtualMemoryCage (VirtualMemoryCage &&other) V8_NOEXCEPT
 
VirtualMemoryCageoperator= (VirtualMemoryCage &&other) V8_NOEXCEPT
 
Address base () const
 
size_t size () const
 
base::AddressRegion region () const
 
base::BoundedPageAllocatorpage_allocator () const
 
VirtualMemoryreservation ()
 
const VirtualMemoryreservation () const
 
bool IsReserved () const
 
bool InitReservation (const ReservationParams &params, base::AddressRegion existing_reservation=base::AddressRegion())
 
void Free ()
 

Protected Attributes

Address base_ = kNullAddress
 
size_t size_ = 0
 
std::unique_ptr< base::BoundedPageAllocatorpage_allocator_
 
VirtualMemory reservation_
 

Detailed Description

Definition at line 351 of file allocation.h.

Constructor & Destructor Documentation

◆ VirtualMemoryCage() [1/3]

v8::internal::VirtualMemoryCage::VirtualMemoryCage ( )
default

◆ ~VirtualMemoryCage()

v8::internal::VirtualMemoryCage::~VirtualMemoryCage ( )
virtual

Definition at line 291 of file allocation.cc.

Here is the call graph for this function:

◆ VirtualMemoryCage() [2/3]

v8::internal::VirtualMemoryCage::VirtualMemoryCage ( const VirtualMemoryCage & )
delete

◆ VirtualMemoryCage() [3/3]

v8::internal::VirtualMemoryCage::VirtualMemoryCage ( VirtualMemoryCage && other)

Definition at line 293 of file allocation.cc.

Member Function Documentation

◆ base()

Address v8::internal::VirtualMemoryCage::base ( ) const
inline

Definition at line 362 of file allocation.h.

Here is the caller graph for this function:

◆ Free()

void v8::internal::VirtualMemoryCage::Free ( )

Definition at line 355 of file allocation.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitReservation()

bool v8::internal::VirtualMemoryCage::InitReservation ( const ReservationParams & params,
base::AddressRegion existing_reservation = base::AddressRegion() )

Definition at line 308 of file allocation.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsReserved()

bool v8::internal::VirtualMemoryCage::IsReserved ( ) const
inline

Definition at line 376 of file allocation.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

VirtualMemoryCage & v8::internal::VirtualMemoryCage::operator= ( VirtualMemoryCage && other)

Definition at line 297 of file allocation.cc.

◆ operator=() [2/2]

VirtualMemoryCage & v8::internal::VirtualMemoryCage::operator= ( VirtualMemoryCage & )
delete

◆ page_allocator()

base::BoundedPageAllocator * v8::internal::VirtualMemoryCage::page_allocator ( ) const
inline

Definition at line 369 of file allocation.h.

Here is the caller graph for this function:

◆ region()

base::AddressRegion v8::internal::VirtualMemoryCage::region ( ) const
inline

Definition at line 365 of file allocation.h.

Here is the caller graph for this function:

◆ reservation() [1/2]

VirtualMemory * v8::internal::VirtualMemoryCage::reservation ( )
inline

Definition at line 373 of file allocation.h.

Here is the caller graph for this function:

◆ reservation() [2/2]

const VirtualMemory * v8::internal::VirtualMemoryCage::reservation ( ) const
inline

Definition at line 374 of file allocation.h.

◆ size()

size_t v8::internal::VirtualMemoryCage::size ( ) const
inline

Definition at line 363 of file allocation.h.

Here is the caller graph for this function:

Member Data Documentation

◆ base_

Address v8::internal::VirtualMemoryCage::base_ = kNullAddress
protected

Definition at line 410 of file allocation.h.

◆ page_allocator_

std::unique_ptr<base::BoundedPageAllocator> v8::internal::VirtualMemoryCage::page_allocator_
protected

Definition at line 412 of file allocation.h.

◆ reservation_

VirtualMemory v8::internal::VirtualMemoryCage::reservation_
protected

Definition at line 413 of file allocation.h.

◆ size_

size_t v8::internal::VirtualMemoryCage::size_ = 0
protected

Definition at line 411 of file allocation.h.


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