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

#include <wasm-code-manager.h>

Collaboration diagram for v8::internal::wasm::DisjointAllocationPool:

Public Member Functions

 MOVE_ONLY_WITH_DEFAULT_CONSTRUCTORS (DisjointAllocationPool)
 
 DisjointAllocationPool (base::AddressRegion region)
 
base::AddressRegion Merge (base::AddressRegion)
 
base::AddressRegion Allocate (size_t size)
 
base::AddressRegion AllocateInRegion (size_t size, base::AddressRegion)
 
bool IsEmpty () const
 
const auto & regions () const
 

Private Attributes

std::set< base::AddressRegion, base::AddressRegion::StartAddressLessregions_
 

Detailed Description

Definition at line 60 of file wasm-code-manager.h.

Constructor & Destructor Documentation

◆ DisjointAllocationPool()

v8::internal::wasm::DisjointAllocationPool::DisjointAllocationPool ( base::AddressRegion region)
inlineexplicit

Definition at line 63 of file wasm-code-manager.h.

Member Function Documentation

◆ Allocate()

base::AddressRegion v8::internal::wasm::DisjointAllocationPool::Allocate ( size_t size)

Definition at line 136 of file wasm-code-manager.cc.

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

◆ AllocateInRegion()

base::AddressRegion v8::internal::wasm::DisjointAllocationPool::AllocateInRegion ( size_t size,
base::AddressRegion region )

Definition at line 141 of file wasm-code-manager.cc.

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

◆ IsEmpty()

bool v8::internal::wasm::DisjointAllocationPool::IsEmpty ( ) const
inline

Definition at line 79 of file wasm-code-manager.h.

Here is the caller graph for this function:

◆ Merge()

base::AddressRegion v8::internal::wasm::DisjointAllocationPool::Merge ( base::AddressRegion new_region)

Definition at line 81 of file wasm-code-manager.cc.

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

◆ MOVE_ONLY_WITH_DEFAULT_CONSTRUCTORS()

v8::internal::wasm::DisjointAllocationPool::MOVE_ONLY_WITH_DEFAULT_CONSTRUCTORS ( DisjointAllocationPool )

◆ regions()

const auto & v8::internal::wasm::DisjointAllocationPool::regions ( ) const
inline

Definition at line 81 of file wasm-code-manager.h.

Here is the caller graph for this function:

Member Data Documentation

◆ regions_

std::set<base::AddressRegion, base::AddressRegion::StartAddressLess> v8::internal::wasm::DisjointAllocationPool::regions_
private

Definition at line 84 of file wasm-code-manager.h.


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