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

#include <zone-allocator.h>

Inheritance diagram for v8::internal::RecyclingZoneAllocator< T >:
Collaboration diagram for v8::internal::RecyclingZoneAllocator< T >:

Classes

struct  FreeBlock
 

Public Member Functions

 RecyclingZoneAllocator (Zone *zone)
 
template<typename U >
 RecyclingZoneAllocator (const RecyclingZoneAllocator< U > &other) V8_NOEXCEPT
 
Tallocate (size_t n)
 
void deallocate (T *p, size_t n)
 
- Public Member Functions inherited from v8::internal::ZoneAllocator< T >
 ZoneAllocator (Zone *zone)
 
template<typename U >
 ZoneAllocator (const ZoneAllocator< U > &other) V8_NOEXCEPT
 
Tallocate (size_t length)
 
void deallocate (T *p, size_t length)
 
bool operator== (ZoneAllocator const &other) const
 
bool operator!= (ZoneAllocator const &other) const
 
Zonezone () const
 

Private Attributes

FreeBlockfree_list_
 

Additional Inherited Members

- Public Types inherited from v8::internal::ZoneAllocator< T >
using value_type = T
 

Detailed Description

template<typename T>
class v8::internal::RecyclingZoneAllocator< T >

Definition at line 70 of file zone-allocator.h.

Constructor & Destructor Documentation

◆ RecyclingZoneAllocator() [1/2]

template<typename T >
v8::internal::RecyclingZoneAllocator< T >::RecyclingZoneAllocator ( Zone * zone)
inlineexplicit

Definition at line 72 of file zone-allocator.h.

◆ RecyclingZoneAllocator() [2/2]

template<typename T >
template<typename U >
v8::internal::RecyclingZoneAllocator< T >::RecyclingZoneAllocator ( const RecyclingZoneAllocator< U > & other)
inline

Definition at line 75 of file zone-allocator.h.

Member Function Documentation

◆ allocate()

template<typename T >
T * v8::internal::RecyclingZoneAllocator< T >::allocate ( size_t n)
inline

Definition at line 79 of file zone-allocator.h.

Here is the call graph for this function:

◆ deallocate()

template<typename T >
void v8::internal::RecyclingZoneAllocator< T >::deallocate ( T * p,
size_t n )
inline

Definition at line 90 of file zone-allocator.h.

Member Data Documentation

◆ free_list_

template<typename T >
FreeBlock* v8::internal::RecyclingZoneAllocator< T >::free_list_
private

Definition at line 112 of file zone-allocator.h.


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