summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2021-03-24 16:47:33 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-04-27 07:39:49 +0000
commit8e95bba272bc2aadc2e2dd4ad66dab489cb70387 (patch)
tree3c07b75d4b9460e4e26e9d1b37c88a682f389127 /tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp
parentad496ea3b5ae79172af3a0231a65ae7c7ee44492 (diff)
Resurrect data moves in QList
Use the data moves to readjust the free space in the QList, which ultimately fixes the out-of-memory issues caused by cases like: forever { list.prepend(list.back()); list.removeLast(); } Task-number: QTBUG-91801 Task-number: QTBUG-91360 Task-number: QTBUG-93019 Change-Id: Iacff69cbf36b8b5b176bb2663df635ec972c875c Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit a0253f5f0249024580050e4ec22d50cb139ef8d9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp')
0 files changed, 0 insertions, 0 deletions