diff options
author | Fabian Kosmale <[email protected]> | 2023-11-21 19:36:26 +0100 |
---|---|---|
committer | Fabian Kosmale <[email protected]> | 2023-12-20 08:38:26 +0100 |
commit | b9d37a328ba09bcb2a7a95b5778cb8c63d0ace26 (patch) | |
tree | 340739253c3e15f0b6c051434d94061e8e3385c6 /src/qml/jsruntime/qv4propertykey.cpp | |
parent | d08ede57dd530a67c3420b3858fe39bf1e5eb598 (diff) |
Long live incremental garbage collection in QML!
The design of the garbage collector is described in
src/qml/memory/design.md.
The gc and gcdone test helpers are adjusted to drive the gc to
completion, even when in incremental mode.
Parts of tst_qv4mm and tst_qqmlqt need to run with the incremental gc
disabled, as they call gc inside QML and assumes that the GC finishes
before returning.
Initial-patch-by: Rafal Chomentowski <[email protected]>
Task-number: QTBUG-119274
Change-Id: I1d94f41bc7a434fad67de0fd46454b6db285f2eb
Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4propertykey.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4propertykey.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4propertykey.cpp b/src/qml/jsruntime/qv4propertykey.cpp index d93ff8e794..65dd7e7fc1 100644 --- a/src/qml/jsruntime/qv4propertykey.cpp +++ b/src/qml/jsruntime/qv4propertykey.cpp @@ -7,6 +7,7 @@ #include <qv4string_p.h> #include <qv4engine_p.h> #include <qv4scopedvalue_p.h> +#include <private/qv4mm_p.h> using namespace Qt::Literals::StringLiterals; |