![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <zone-allocator.h>
Classes | |
struct | FreeBlock |
Public Member Functions | |
RecyclingZoneAllocator (Zone *zone) | |
template<typename U > | |
RecyclingZoneAllocator (const RecyclingZoneAllocator< U > &other) V8_NOEXCEPT | |
T * | allocate (size_t n) |
void | deallocate (T *p, size_t n) |
![]() | |
ZoneAllocator (Zone *zone) | |
template<typename U > | |
ZoneAllocator (const ZoneAllocator< U > &other) V8_NOEXCEPT | |
T * | allocate (size_t length) |
void | deallocate (T *p, size_t length) |
bool | operator== (ZoneAllocator const &other) const |
bool | operator!= (ZoneAllocator const &other) const |
Zone * | zone () const |
Private Attributes | |
FreeBlock * | free_list_ |
Additional Inherited Members | |
![]() | |
using | value_type = T |
Definition at line 70 of file zone-allocator.h.
|
inlineexplicit |
Definition at line 72 of file zone-allocator.h.
|
inline |
Definition at line 75 of file zone-allocator.h.
|
inline |
|
inline |
Definition at line 90 of file zone-allocator.h.
|
private |
Definition at line 112 of file zone-allocator.h.