commit | 67ba872df798271d2960be27c7f1e813259feabc | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Thu May 23 15:32:18 2019 +0100 |
committer | David Srbecky <dsrbecky@google.com> | Sat May 25 10:30:57 2019 +0000 |
tree | 93bb6a90a1e1810799faa0ab1e0d672ce041c0ed | |
parent | 436f6c1e53b735ace36fbfe48c337ece07d76e62 [diff] |
Optimize stack map decoding. We usually read several consecutive varints. Add helper method optimized for that use case (ideally reading 8 varints from single load). This improves app startup by 0.4% (maps,speed). PMD on golem seems to get around 5% faster. CodeInfo::Decode on its own is 25% faster. Bug: 133257467 Test: ./art/test.py -b --host --64 Change-Id: Iaf7e8469ed6397b1d1d4102e409b5731f7229557