commit | 967a0adf8b93a23d2a8fef82e06bd913db94ac19 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Tue Sep 10 16:24:21 2013 -0700 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Wed Sep 11 15:38:23 2013 -0700 |
tree | 35b7fbf6eb1899736213e57e11c85d16c1b4853e | |
parent | af3994db1b42929666b6a50c3c4b237a25c99951 [diff] |
More allocation code optimizations. - Inline Class::AllocObject() and Array::Alloc(). - Inline some short Mutex functions and add LIKELY/UNLIKELY to some Mutex functions. - This change improves the Ritz MemAllocTest by ~6% on Nexus 4 and ~10% on host. Bug: 9986565 Change-Id: I1606c74ddb21676cbc1de1a40e9b076fc23eaea4