be759e8b1203e29304d03ea0a8c9c3fc3b68bcb3 |
|
14-Jul-2012 |
John Reck <jreck@google.com> |
Fix stuttering caused by mallinfo mallinfo will block any malloc/frees while it is running, and unfortunately it is rather slow - it takes upwards of 70ms. Fortunately, we don't need all the info mallinfo returns, and can instead query for the total usage directly. This call merely returns a global value, so the caching mechanism that is in place is no longer necessary. Change-Id: Ida3af9202a6825b19b8590d4b40ca72ba2230c90
/external/webkit/Source/WebKit/android/WebCoreSupport/MemoryUsage.cpp
|