diff options
author | Calin Juravle <calin@google.com> | 2018-01-22 19:22:24 -0800 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2018-01-24 12:14:47 -0800 |
commit | 2dba0ab8498e5ff3ba5be2e37e26310a661cf259 (patch) | |
tree | 4dcc90f214855c7521817f9809712726132d4a1e /compiler/optimizing/graph_visualizer.cc | |
parent | 49971eb50c0213b7506bdd29954a6a4423e6426a (diff) |
Enable profile key updates via profman
Allow profman to update the profile key in an existing profile based on
new dex location.
This is needed in order to support profiles for dex files that might move
from their original profiling location (e.g. during install)
The matching [profile key <-> dex_file] is done based on the dex checksum
and the number of methods ids. If neither is a match then the profile key
is not updated. If the new profile key would collide with an existing key
(for a different dex) then the update will fail.
Test: profile_compilation_info_test
Bug: 30934496
Change-Id: Ic696b3f6fe9da2007421bf044d58a21c90fd9ee7
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions