aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/memory/qv4mm_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2023-01-26 14:49:59 +0100
committerUlf Hermann <ulf.hermann@qt.io>2023-01-27 19:16:38 +0100
commit879a89fcda914581ea76f6d9786dc5c2e489991b (patch)
tree427b98bf81cf98450cd45453926ec9bfde74ecc3 /src/qml/memory/qv4mm_p.h
parent712cdc300a20ee8409aa920e8c30dd1871f5c877 (diff)
MemoryManager: Remove grayBitmap
We're not using gray items anywhere. There is no need to waste the memory for the bitmap. Change-Id: I26983cbc005531184ed955cea6026b9a8c5be910 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/memory/qv4mm_p.h')
-rw-r--r--src/qml/memory/qv4mm_p.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/qml/memory/qv4mm_p.h b/src/qml/memory/qv4mm_p.h
index cb1d2567b3..378b36369d 100644
--- a/src/qml/memory/qv4mm_p.h
+++ b/src/qml/memory/qv4mm_p.h
@@ -22,10 +22,6 @@
#include <private/qv4mmdefs_p.h>
#include <QVector>
-#define QV4_MM_MAXBLOCK_SHIFT "QV4_MM_MAXBLOCK_SHIFT"
-#define QV4_MM_MAX_CHUNK_SIZE "QV4_MM_MAX_CHUNK_SIZE"
-#define QV4_MM_STATS "QV4_MM_STATS"
-
#define MM_DEBUG 0
QT_BEGIN_NAMESPACE
@@ -67,7 +63,6 @@ struct BlockAllocator {
void sweep();
void freeAll();
void resetBlackBits();
- void collectGrayItems(MarkStack *markStack);
// bump allocations
HeapItem *nextFree = nullptr;
@@ -89,7 +84,6 @@ struct HugeItemAllocator {
void sweep(ClassDestroyStatsCallback classCountPtr);
void freeAll();
void resetBlackBits();
- void collectGrayItems(MarkStack *markStack);
size_t usedMem() const {
size_t used = 0;