Placeholder for Webkit.org patch https://bugs.webkit.org/show_bug.cgi?id=34350 to be cherry picked into QtScript's copy of JSC code.
-------- Original description from Webkit.org below-----------------
The 64k-aligned block requests being made using UserHeap::ChunkHeap() in Collector.cpp are inefficient.
This is causing the error condition ...
if (!userChunk)
CRASH();
to show up frequently even when device has lots of free RAM left. ("WebCore 0" panic description)
We likely need to use RChunk.CreateDisconnectedLocal() and associated commit() and decommit() to..
a) efficiently request alignment with exotic 64k requirement
b) return committed memory back to system pool when Heap::freeBlock() is run.