Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QV4::ChunkAllocator Struct Reference
+ Collaboration diagram for QV4::ChunkAllocator:

Public Member Functions

 ChunkAllocator ()
 
size_t requiredChunkSize (size_t size)
 
Chunkallocate (size_t size=0)
 
void free (Chunk *chunk, size_t size=0)
 

Public Attributes

std::vector< MemorySegmentmemorySegments
 

Detailed Description

Definition at line 196 of file qv4mm.cpp.

Constructor & Destructor Documentation

◆ ChunkAllocator()

QV4::ChunkAllocator::ChunkAllocator ( )
inline

Definition at line 197 of file qv4mm.cpp.

Member Function Documentation

◆ allocate()

Chunk * QV4::ChunkAllocator::allocate ( size_t size = 0)

Definition at line 214 of file qv4mm.cpp.

References Q_ASSERT.

◆ free()

void QV4::ChunkAllocator::free ( Chunk * chunk,
size_t size = 0 )

Definition at line 232 of file qv4mm.cpp.

References Q_ASSERT.

Referenced by QV4::freeHugeChunk().

+ Here is the caller graph for this function:

◆ requiredChunkSize()

size_t QV4::ChunkAllocator::requiredChunkSize ( size_t size)
inline

Definition at line 199 of file qv4mm.cpp.

Member Data Documentation

◆ memorySegments

std::vector<MemorySegment> QV4::ChunkAllocator::memorySegments

Definition at line 211 of file qv4mm.cpp.


The documentation for this struct was generated from the following file: