![]() |
Qt 6.x
The Qt SDK
|
#include <qv4mm_p.h>
Collaboration diagram for QV4::HugeItemAllocator: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 |
| HeapItem * QV4::HugeItemAllocator::allocate | ( | size_t | size | ) |
Definition at line 597 of file qv4mm.cpp.
References engine, Q_ASSERT, and Q_V4_PROFILE_ALLOC.
Referenced by QV4::MemoryManager::allocObjectWithMemberData().
Here is the caller graph for this function:| void QV4::HugeItemAllocator::freeAll | ( | ) |
Definition at line 666 of file qv4mm.cpp.
References engine, QV4::freeHugeChunk(), and Q_V4_PROFILE_DEALLOC.
Referenced by QV4::MemoryManager::~MemoryManager().
Here is the call graph for this function:
Here is the caller graph for this function:| void QV4::HugeItemAllocator::resetBlackBits | ( | ) |
Definition at line 660 of file qv4mm.cpp.
Referenced by QV4::MemoryManager::runGC().
Here is the caller graph for this function:| void QV4::HugeItemAllocator::sweep | ( | ClassDestroyStatsCallback | classCountPtr | ) |
Definition at line 644 of file qv4mm.cpp.
References engine, QV4::freeHugeChunk(), and Q_V4_PROFILE_DEALLOC.
Here is the call graph for this function:
|
inline |
Definition at line 88 of file qv4mm_p.h.
References chunks.
Referenced by QV4::MemoryManager::getAllocatedMem(), and QV4::MemoryManager::getLargeItemsMem().
Here is the caller graph for this function:| ChunkAllocator* QV4::HugeItemAllocator::chunkAllocator |
| std::vector<HugeChunk> QV4::HugeItemAllocator::chunks |
| ExecutionEngine* QV4::HugeItemAllocator::engine |