commit | 9df8931359953803441accaa124ca454a33917dc | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Nov 23 13:28:16 2016 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Nov 30 19:07:20 2016 +0000 |
tree | 8cd904585a4cdc10e64f8419b651e7c9be5ce521 | |
parent | 424c03aac25835febbf5c695b943206bc40ef335 [diff] |
Add atomic method reference map Less RAM usage and faster than using a normal map with MethodReference. Speed is faster by avoiding locking and tree traversal. RAM usage is lower since the map usually had a value for most method references. Plan on using for marking methods for dex2dex, storing compiled methods. Also use the new map for VerifiedMethods (refactoring). Added test. Bug: 32641252 Test: test-art-host-run-test Change-Id: I46268031b8e0daf9be3597145cf6ecf579a039e2