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

Public Member Functions

 Region (Address address, size_t size, RegionState state)
 
bool is_free () const
 
bool is_allocated () const
 
bool is_excluded () const
 
RegionState state ()
 
void set_state (RegionState state)
 
void Print (std::ostream &os) const
 
- Public Member Functions inherited from v8::base::AddressRegion
constexpr AddressRegion ()=default
 
constexpr AddressRegion (Address address, size_t size)
 
Address begin () const
 
Address end () const
 
size_t size () const
 
void set_size (size_t size)
 
bool is_empty () const
 
bool contains (Address address) const
 
bool contains (Address address, size_t size) const
 
bool contains (AddressRegion region) const
 
base::AddressRegion GetOverlap (AddressRegion region) const
 
bool operator== (AddressRegion other) const
 
bool operator!= (AddressRegion other) const
 

Private Attributes

RegionState state_
 

Additional Inherited Members

- Public Types inherited from v8::base::AddressRegion
using Address = uintptr_t
 

Detailed Description

Definition at line 137 of file region-allocator.h.

Constructor & Destructor Documentation

◆ Region()

v8::base::RegionAllocator::Region::Region ( Address address,
size_t size,
RegionState state )
inline

Definition at line 139 of file region-allocator.h.

Member Function Documentation

◆ is_allocated()

bool v8::base::RegionAllocator::Region::is_allocated ( ) const
inline

Definition at line 143 of file region-allocator.h.

◆ is_excluded()

bool v8::base::RegionAllocator::Region::is_excluded ( ) const
inline

Definition at line 144 of file region-allocator.h.

◆ is_free()

bool v8::base::RegionAllocator::Region::is_free ( ) const
inline

Definition at line 142 of file region-allocator.h.

◆ Print()

void v8::base::RegionAllocator::Region::Print ( std::ostream & os) const

Definition at line 361 of file region-allocator.cc.

Here is the call graph for this function:

◆ set_state()

void v8::base::RegionAllocator::Region::set_state ( RegionState state)
inline

Definition at line 147 of file region-allocator.h.

◆ state()

RegionState v8::base::RegionAllocator::Region::state ( )
inline

Definition at line 146 of file region-allocator.h.

Member Data Documentation

◆ state_

RegionState v8::base::RegionAllocator::Region::state_
private

Definition at line 152 of file region-allocator.h.


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