diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-11-21 15:05:23 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-11-22 16:49:21 -0800 |
commit | fc2dd6110c7ce5fc272836d1a7e48f3b40612c2d (patch) | |
tree | c61e6b98d487e4dccf4c66d755982cc9160ca345 /test/008-exceptions/src/MultiDexBadInitWrapper1.java | |
parent | 0e5e9fd33521d0f9a2cc6551cb77b4b196e82082 (diff) |
Speed up verified methods
Switch to an array of atomic pointers instead of a map. Removes lock
and map lookup. Also address comments from previous CL.
GetVerifiedMethod: 1.59% -> 0.18% of compilation time.
Install time seems to goes down by around 1%.
Also has significant RAM savings (FB host compile):
dex2oat native alloc: 84695472B -> 71268736B
For the JIT case, the old method is used to prevent any increase in
RAM usage.
Bug: 32641252
Test: test-art-host
Change-Id: I47b4b8a4a3cb3f8ef23e36a888b8885e12168787
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInitWrapper1.java')
0 files changed, 0 insertions, 0 deletions