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

#include <zone.h>

Collaboration diagram for v8::internal::ZoneAllocationPolicy:

Public Member Functions

 ZoneAllocationPolicy ()
 
 ZoneAllocationPolicy (Zone *zone)
 
template<typename T , typename TypeTag = T[]>
V8_INLINE TAllocateArray (size_t length)
 
template<typename T , typename TypeTag = T[]>
V8_INLINE void DeleteArray (T *p, size_t length)
 
Zonezone () const
 

Private Attributes

Zonezone_
 

Detailed Description

Definition at line 354 of file zone.h.

Constructor & Destructor Documentation

◆ ZoneAllocationPolicy() [1/2]

v8::internal::ZoneAllocationPolicy::ZoneAllocationPolicy ( )
inline

Definition at line 357 of file zone.h.

◆ ZoneAllocationPolicy() [2/2]

v8::internal::ZoneAllocationPolicy::ZoneAllocationPolicy ( Zone * zone)
inlineexplicit

Definition at line 358 of file zone.h.

Member Function Documentation

◆ AllocateArray()

template<typename T , typename TypeTag = T[]>
V8_INLINE T * v8::internal::ZoneAllocationPolicy::AllocateArray ( size_t length)
inline

Definition at line 361 of file zone.h.

Here is the call graph for this function:

◆ DeleteArray()

template<typename T , typename TypeTag = T[]>
V8_INLINE void v8::internal::ZoneAllocationPolicy::DeleteArray ( T * p,
size_t length )
inline

Definition at line 365 of file zone.h.

Here is the call graph for this function:

◆ zone()

Zone * v8::internal::ZoneAllocationPolicy::zone ( ) const
inline

Definition at line 369 of file zone.h.

Here is the caller graph for this function:

Member Data Documentation

◆ zone_

Zone* v8::internal::ZoneAllocationPolicy::zone_
private

Definition at line 372 of file zone.h.


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