V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::base::RegionAllocator Class Referencefinal

Public Types

typedef uintptr_t Address
 

Public Member Functions

 RegionAllocator (Address address, size_t size, size_t page_size)
 
Address AllocateRegion (size_t size)
 
Address AllocateRegion (RandomNumberGenerator *rng, size_t size)
 
bool AllocateRegionAt (Address requested_address, size_t size)
 
size_t FreeRegion (Address address)
 
size_t TrimRegion (Address address, size_t new_size)
 
size_t CheckRegion (Address address)
 
bool IsFree (Address address, size_t size)
 
Address begin () const
 
Address end () const
 
size_t size () const
 
bool contains (Address address) const
 
bool contains (Address address, size_t size) const
 
size_t free_size () const
 
size_t page_size () const
 
void Print (std::ostream &os) const
 

Static Public Attributes

static constexpr Address kAllocationFailure = static_cast<Address>(-1)
 

Detailed Description

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


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