#include <zone.h>
|
| | Zone (AccountingAllocator *allocator, const char *name, bool support_compression=false) |
| |
| | ~Zone () |
| |
| bool | supports_compression () const |
| |
| template<typename TypeTag > |
| void * | Allocate (size_t size) |
| |
| template<typename TypeTag = void> |
| void | Delete (void *pointer, size_t size) |
| |
| template<typename T , typename... Args> |
| T * | New (Args &&... args) |
| |
| template<typename T , typename TypeTag = T[]> |
| T * | AllocateArray (size_t length) |
| |
| template<typename T , typename TypeTag = T[]> |
| base::Vector< T > | AllocateVector (size_t length) |
| |
| template<typename T , typename TypeTag = T[]> |
| base::Vector< T > | NewVector (size_t length) |
| |
| template<typename T , typename TypeTag = T[]> |
| base::Vector< T > | NewVector (size_t length, T value) |
| |
| template<typename T , typename TypeTag = std::remove_const_t<T>[]> |
| base::Vector< std::remove_const_t< T > > | CloneVector (base::Vector< T > v) |
| |
| template<typename T , typename TypeTag = T[]> |
| void | DeleteArray (T *pointer, size_t length) |
| |
| void | Seal () |
| |
| void | Reset () |
| |
| size_t | segment_bytes_allocated () const |
| |
| const char * | name () const |
| |
| size_t | allocation_size () const |
| |
| size_t | allocation_size_for_tracing () const |
| |
| size_t | freed_size_for_tracing () const |
| |
| AccountingAllocator * | allocator () const |
| |
| V8_WARN_UNUSED_RESULT ZoneSnapshot | Snapshot () const |
| |
Definition at line 43 of file zone.h.
◆ Zone()
◆ ~Zone()
| v8::internal::Zone::~Zone |
( |
| ) |
|
◆ Allocate()
template<typename TypeTag >
| void * v8::internal::Zone::Allocate |
( |
size_t | size | ) |
|
|
inline |
◆ AllocateArray()
template<typename
T , typename TypeTag = T[]>
| T * v8::internal::Zone::AllocateArray |
( |
size_t | length | ) |
|
|
inline |
◆ AllocateVector()
template<typename
T , typename TypeTag = T[]>
◆ allocation_size()
| size_t v8::internal::Zone::allocation_size |
( |
| ) |
const |
|
inline |
◆ allocation_size_for_tracing()
| size_t v8::internal::Zone::allocation_size_for_tracing |
( |
| ) |
const |
|
inline |
◆ allocator()
◆ AsanNew()
| void * v8::internal::Zone::AsanNew |
( |
size_t | size | ) |
|
|
private |
◆ CloneVector()
template<typename
T , typename TypeTag = std::remove_const_t<T>[]>
◆ Delete()
template<typename TypeTag = void>
| void v8::internal::Zone::Delete |
( |
void * | pointer, |
|
|
size_t | size ) |
|
inline |
◆ DeleteAll()
| void v8::internal::Zone::DeleteAll |
( |
| ) |
|
|
private |
◆ DeleteArray()
template<typename
T , typename TypeTag = T[]>
| void v8::internal::Zone::DeleteArray |
( |
T * | pointer, |
|
|
size_t | length ) |
|
inline |
◆ Expand()
| void v8::internal::Zone::Expand |
( |
size_t | size | ) |
|
|
private |
◆ freed_size_for_tracing()
| size_t v8::internal::Zone::freed_size_for_tracing |
( |
| ) |
const |
|
inline |
◆ name()
| const char * v8::internal::Zone::name |
( |
| ) |
const |
|
inline |
◆ New()
template<typename
T , typename... Args>
| T * v8::internal::Zone::New |
( |
Args &&... | args | ) |
|
|
inline |
◆ NewVector() [1/2]
template<typename
T , typename TypeTag = T[]>
◆ NewVector() [2/2]
template<typename
T , typename TypeTag = T[]>
◆ ReleaseSegment()
| void v8::internal::Zone::ReleaseSegment |
( |
Segment * | segment | ) |
|
|
private |
◆ Reset()
| void v8::internal::Zone::Reset |
( |
| ) |
|
◆ Seal()
| void v8::internal::Zone::Seal |
( |
| ) |
|
|
inline |
◆ segment_bytes_allocated()
| size_t v8::internal::Zone::segment_bytes_allocated |
( |
| ) |
const |
|
inline |
◆ Snapshot()
◆ supports_compression()
| bool v8::internal::Zone::supports_compression |
( |
| ) |
const |
|
inline |
◆ ZoneSnapshot
◆ allocation_size_
| std::atomic<size_t> v8::internal::Zone::allocation_size_ = {0} |
|
private |
◆ allocator_
◆ kAlignmentInBytes
| const size_t v8::internal::Zone::kAlignmentInBytes = 8 |
|
staticprivate |
◆ kMaximumSegmentSize
| const size_t v8::internal::Zone::kMaximumSegmentSize = 32 * KB |
|
staticprivate |
◆ kMinimumSegmentSize
| const size_t v8::internal::Zone::kMinimumSegmentSize = 8 * KB |
|
staticprivate |
◆ limit_
| Address v8::internal::Zone::limit_ = 0 |
|
private |
◆ name_
| const char* v8::internal::Zone::name_ |
|
private |
◆ position_
| Address v8::internal::Zone::position_ = 0 |
|
private |
◆ sealed_
| bool v8::internal::Zone::sealed_ = false |
|
private |
◆ segment_bytes_allocated_
| std::atomic<size_t> v8::internal::Zone::segment_bytes_allocated_ = {0} |
|
private |
◆ segment_head_
| Segment* v8::internal::Zone::segment_head_ = nullptr |
|
private |
◆ supports_compression_
| const bool v8::internal::Zone::supports_compression_ |
|
private |
The documentation for this class was generated from the following files: