diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-02-10 11:51:43 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-02-13 15:36:03 +0000 |
commit | 66b58804a3291890bd6ae8444911a6a22bf8c321 (patch) | |
tree | 80eccceeeab1dd36b040161a778836ab82defd92 /src/qml/qml/qqmlapplicationengine.cpp | |
parent | fdabe1c8ac9c43648718b66bfb4194439a3e6abb (diff) |
Fix a bug in Chunk::sortIntoBins()
The bug lead to us not sorting all freed memory into
the bins for the allocator to find. The lead to memory
being 'lost' in the garbage collector.
Add an assertion that checks for lost memory when
we're running with aggressive GC.
Also make sure we don't run GC twice in a row when
aggressive GC is enabled.
Change-Id: I4fb6732acce8a2e66258fa70fb7d8f1f939cfd9f
Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
Diffstat (limited to 'src/qml/qml/qqmlapplicationengine.cpp')
0 files changed, 0 insertions, 0 deletions