V4: relieve more memory allocator pressure.
authorErik Verbruggen <erik.verbruggen@digia.com>
Thu, 16 Jan 2014 14:39:00 +0000 (15:39 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 16 Jan 2014 18:21:52 +0000 (19:21 +0100)
commit6ccb9f8f04ea257520e518b25999907c6a8421e1
tree2226a0852b93de3b2fed0cec9a1f7d3ad31d6378
parentd7ea71586c550c2c98f4ebb1caed83f69dc21e6f
V4: relieve more memory allocator pressure.

For _ZN13BenchmarkDemo11initPhysicsEv from the Octane testsuite, the
total allocated memory drops from 1.5GB to 51MB. Peak memory usage stays
at 29MB.

Again, slow implementations of malloc()/free() will see a performance
improvement.

Change-Id: I21bc2f0d3735de0980fc9b3745906016e2e48a61
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/qv4regalloc.cpp