#include <object-allocator.h>
|
| ObjectAllocator (RawHeap &, PageBackend &, StatsCollector &, PreFinalizerHandler &, FatalOutOfMemoryHandler &, GarbageCollector &) |
|
void * | AllocateObject (size_t size, GCInfoIndex gcinfo) |
|
void * | AllocateObject (size_t size, AlignVal alignment, GCInfoIndex gcinfo) |
|
void * | AllocateObject (size_t size, GCInfoIndex gcinfo, CustomSpaceIndex space_index) |
|
void * | AllocateObject (size_t size, AlignVal alignment, GCInfoIndex gcinfo, CustomSpaceIndex space_index) |
|
void | ResetLinearAllocationBuffers () |
|
void | MarkAllPagesAsYoung () |
|
|
bool | in_disallow_gc_scope () const |
|
void * | AllocateObjectOnSpace (NormalPageSpace &, size_t, GCInfoIndex) |
|
void * | AllocateObjectOnSpace (NormalPageSpace &, size_t, AlignVal, GCInfoIndex) |
|
void * | OutOfLineAllocate (NormalPageSpace &, size_t, AlignVal, GCInfoIndex) |
|
void V8_PRESERVE_MOST | OutOfLineAllocateGCSafePoint (NormalPageSpace &, size_t, AlignVal, GCInfoIndex, void **) |
|
void * | OutOfLineAllocateImpl (NormalPageSpace &, size_t, AlignVal, GCInfoIndex) |
|
bool | TryRefillLinearAllocationBuffer (NormalPageSpace &, size_t) |
|
bool | TryRefillLinearAllocationBufferFromFreeList (NormalPageSpace &, size_t) |
|
bool | TryExpandAndRefillLinearAllocationBuffer (NormalPageSpace &) |
|
Definition at line 40 of file object-allocator.h.
◆ AlignVal
◆ ObjectAllocator()
◆ AllocateObject() [1/4]
void * cppgc::internal::ObjectAllocator::AllocateObject |
( |
size_t | size, |
|
|
AlignVal | alignment, |
|
|
GCInfoIndex | gcinfo ) |
|
inline |
◆ AllocateObject() [2/4]
◆ AllocateObject() [3/4]
void * cppgc::internal::ObjectAllocator::AllocateObject |
( |
size_t | size, |
|
|
GCInfoIndex | gcinfo ) |
|
inline |
◆ AllocateObject() [4/4]
◆ AllocateObjectOnSpace() [1/2]
◆ AllocateObjectOnSpace() [2/2]
◆ GetInitialSpaceIndexForSize()
◆ in_disallow_gc_scope()
bool cppgc::internal::ObjectAllocator::in_disallow_gc_scope |
( |
| ) |
const |
|
private |
◆ MarkAllPagesAsYoung()
void cppgc::internal::ObjectAllocator::MarkAllPagesAsYoung |
( |
| ) |
|
◆ OutOfLineAllocate()
◆ OutOfLineAllocateGCSafePoint()
◆ OutOfLineAllocateImpl()
◆ ResetLinearAllocationBuffers()
void cppgc::internal::ObjectAllocator::ResetLinearAllocationBuffers |
( |
| ) |
|
◆ TryExpandAndRefillLinearAllocationBuffer()
bool cppgc::internal::ObjectAllocator::TryExpandAndRefillLinearAllocationBuffer |
( |
NormalPageSpace & | space | ) |
|
|
private |
◆ TryRefillLinearAllocationBuffer()
bool cppgc::internal::ObjectAllocator::TryRefillLinearAllocationBuffer |
( |
NormalPageSpace & | space, |
|
|
size_t | size ) |
|
private |
◆ TryRefillLinearAllocationBufferFromFreeList()
bool cppgc::internal::ObjectAllocator::TryRefillLinearAllocationBufferFromFreeList |
( |
NormalPageSpace & | space, |
|
|
size_t | size ) |
|
private |
◆ garbage_collector_
◆ kSmallestSpaceSize
size_t cppgc::internal::ObjectAllocator::kSmallestSpaceSize = 32 |
|
staticconstexpr |
◆ oom_handler_
◆ page_backend_
PageBackend& cppgc::internal::ObjectAllocator::page_backend_ |
|
private |
◆ prefinalizer_handler_
◆ raw_heap_
RawHeap& cppgc::internal::ObjectAllocator::raw_heap_ |
|
private |
◆ stats_collector_
The documentation for this class was generated from the following files: