diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-02-09 21:44:02 +0100 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-03-05 14:06:29 +0100 |
| commit | bb3999a22d3282911005865135c9d6d49ae65728 (patch) | |
| tree | 62c9ecc64940b380c2ddd84b02a4a5475281b1d6 /src/qml/jsruntime/qv4engine.cpp | |
| parent | d6d224892e6672dc3ed8f027b54277fe8a7971f9 (diff) | |
QV4 garbage collection: Allocate white during gc run
Now that we properly employ the WriteBarrier, we no longer need to use
black allocations. This reduces the amount of floating garbage, and
avoids potential bugs with heap classes like QV4::MemberData where we
rely on it being marked so that its constituents don't have to be
protected during initialization – which would fail when we it is already
black, as it wouldn't be pushed on the MarkStack afterwards.
Fixes: QTBUG-121910
Change-Id: Ie5e0f9461fa5c0e4a293da3d3c978da73743e417
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
0 files changed, 0 insertions, 0 deletions
