![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qv4mm_p.h>
Classes | |
struct | HugeChunk |
Public Member Functions | |
HugeItemAllocator (ChunkAllocator *chunkAllocator, ExecutionEngine *engine) | |
HeapItem * | allocate (size_t size) |
void | sweep (ClassDestroyStatsCallback classCountPtr) |
void | freeAll () |
void | resetBlackBits () |
size_t | usedMem () const |
Public Attributes | |
ChunkAllocator * | chunkAllocator |
ExecutionEngine * | engine |
std::vector< HugeChunk > | chunks |
|
inline |
Definition at line 158 of file qv4mm_p.h.
References chunkAllocator, and engine.
HeapItem * QV4::HugeItemAllocator::allocate | ( | size_t | size | ) |
Definition at line 599 of file qv4mm.cpp.
References chunkAllocator, engine, and QV4::MemorySegment::SegmentSize.
void QV4::HugeItemAllocator::sweep | ( | ClassDestroyStatsCallback | classCountPtr | ) |
Definition at line 646 of file qv4mm.cpp.
References chunkAllocator, and engine.
ChunkAllocator* QV4::HugeItemAllocator::chunkAllocator |
Definition at line 174 of file qv4mm_p.h.
Referenced by HugeItemAllocator(), allocate(), and sweep().
ExecutionEngine* QV4::HugeItemAllocator::engine |
Definition at line 175 of file qv4mm_p.h.
Referenced by HugeItemAllocator(), allocate(), and sweep().