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
qv4mm.cpp File Reference

(de436b852586ab03f93418ddf55f90082e93ae03)

#include "qv4engine_p.h"
#include "qv4object_p.h"
#include "qv4mm_p.h"
#include "qv4qobjectwrapper_p.h"
#include "qv4identifiertable_p.h"
#include <QtCore/qalgorithms.h>
#include <QtCore/private/qnumeric_p.h>
#include <QtCore/qloggingcategory.h>
#include <private/qv4alloca_p.h>
#include <qqmlengine.h>
#include "PageReservation.h"
#include "PageAllocation.h"
#include <QElapsedTimer>
#include <QMap>
#include <QScopedValueRollback>
#include <iostream>
#include <cstdlib>
#include <algorithm>
#include "qv4profiling_p.h"
#include "qv4mapobject_p.h"
#include "qv4setobject_p.h"
#include <chrono>
+ Include dependency graph for qv4mm.cpp:

Go to the source code of this file.

Classes

struct  QV4::MemorySegment
 
struct  QV4::ChunkAllocator
 

Namespaces

namespace  QV4
 

Macros

#define MM_STATS
 
#define DEBUG   if (1) ; else qDebug() << "MM:"
 
#define SDUMP   if (1) ; else qDebug
 

Typedefs

typedef QHash< const char *, int > QV4::MMStatsHash
 

Enumerations

enum  { QV4::MinSlotsGCLimit = QV4::Chunk::AvailableSlots*16 , QV4::GCOverallocation = 200 }
 

Functions

QString QV4::binary (quintptr)
 
static void QV4::increaseFreedCountForClass (const char *className)
 
static void QV4::freeHugeChunk (ChunkAllocator *chunkAllocator, const HugeItemAllocator::HugeChunk &c, ClassDestroyStatsCallback classCountPtr)
 
static size_t QV4::dumpBins (BlockAllocator *b, const char *title)
 

Variables

static uint QV4::markStackSize = 0
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG   if (1) ; else qDebug() << "MM:"

Definition at line 39 of file qv4mm.cpp.

Referenced by QV4::MemorySegment::allocate().

◆ MM_STATS

#define MM_STATS

Definition at line 33 of file qv4mm.cpp.

◆ SDUMP

#define SDUMP   if (1) ; else qDebug

Definition at line 254 of file qv4mm.cpp.

Referenced by QV4::dumpBins(), and QV4::Chunk::sweep().