diff options
author | John Reck <jreck@google.com> | 2012-07-13 17:58:52 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2012-07-13 17:58:52 -0700 |
commit | be759e8b1203e29304d03ea0a8c9c3fc3b68bcb3 (patch) | |
tree | b3dcc50fbbba3053caebfd54988ccdd6be810a3d /Source/WebKit/android/jni/DeviceMotionAndOrientationManager.h | |
parent | 8ad43ea5cc2ec08eaf11619f6c543e14bb5e1506 (diff) | |
download | external_webkit-be759e8b1203e29304d03ea0a8c9c3fc3b68bcb3.zip external_webkit-be759e8b1203e29304d03ea0a8c9c3fc3b68bcb3.tar.gz external_webkit-be759e8b1203e29304d03ea0a8c9c3fc3b68bcb3.tar.bz2 |
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
Diffstat (limited to 'Source/WebKit/android/jni/DeviceMotionAndOrientationManager.h')
0 files changed, 0 insertions, 0 deletions