![]() |
Qt 6.x
The Qt SDK
|
#include <qv4mmdefs_p.h>
Collaboration diagram for QV4::HeapItem:Public Member Functions | |
| operator Heap::Base * () | |
| template<typename T > | |
| T * | as () |
| Chunk * | chunk () const |
| bool | isBlack () const |
| bool | isInUse () const |
| void | setAllocatedSlots (size_t nSlots) |
| size_t | size () const |
Public Attributes | ||
| union { | ||
| struct { | ||
| HeapItem * next | ||
| size_t availableSlots | ||
| } freeData | ||
| quint64 payload [Chunk::SlotSize/sizeof(quint64)] | ||
| }; | ||
Definition at line 160 of file qv4mmdefs_p.h.
|
inline |
Definition at line 171 of file qv4mmdefs_p.h.
Referenced by QV4::MemoryManager::allocObjectWithMemberData().
Here is the caller graph for this function:
|
inline |
Definition at line 173 of file qv4mmdefs_p.h.
References QV4::Chunk::ChunkShift.
Referenced by QV4::MemoryManager::allocObjectWithMemberData(), QV4::freeHugeChunk(), isBlack(), isInUse(), setAllocatedSlots(), and size().
Here is the caller graph for this function:
|
inline |
Definition at line 177 of file qv4mmdefs_p.h.
References chunk(), and QV4::Chunk::testBit().
Here is the call graph for this function:
|
inline |
Definition at line 182 of file qv4mmdefs_p.h.
References chunk(), and QV4::Chunk::testBit().
Here is the call graph for this function:
|
inline |
Definition at line 168 of file qv4mmdefs_p.h.
|
inline |
Definition at line 188 of file qv4mmdefs_p.h.
References chunk(), QV4::Chunk::setBit(), and QV4::Chunk::setBits().
Here is the call graph for this function:
|
inline |
Definition at line 201 of file qv4mmdefs_p.h.
References chunk(), QV4::Chunk::NumSlots, Q_ASSERT, and QV4::Chunk::testBit().
Here is the call graph for this function:| union { ... } QV4::HeapItem |
| size_t QV4::HeapItem::availableSlots |
Definition at line 164 of file qv4mmdefs_p.h.
Referenced by QV4::BlockAllocator::allocate(), QV4::dumpBins(), and QV4::Chunk::sortIntoBins().
| struct { ... } QV4::HeapItem::freeData |
Referenced by QV4::BlockAllocator::allocate(), QV4::dumpBins(), and QV4::Chunk::sortIntoBins().
| HeapItem* QV4::HeapItem::next |
Definition at line 163 of file qv4mmdefs_p.h.
Referenced by QV4::BlockAllocator::allocate(), and QV4::Chunk::sortIntoBins().
| quint64 QV4::HeapItem::payload[Chunk::SlotSize/sizeof(quint64)] |
Definition at line 166 of file qv4mmdefs_p.h.