diff options
author | Calin Juravle <calin@google.com> | 2018-05-08 18:23:24 -0700 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2018-05-09 13:08:06 -0700 |
commit | d5aeadeac0debd90d0a931c1d41bee6a2d32b209 (patch) | |
tree | 2d21d88d082bcd7c4be932a78d108b6fd62c8342 /compiler/optimizing/graph_visualizer.cc | |
parent | 9926e4615d75cb6c9371e1766a14b0a80089ae18 (diff) |
Clear the profile if we fail to add new methods or classes
We may fail to add new data in the profile if it contains outdated data
(e.g. if the dex files we profiled were updated in the meantime). If this
happens, clear the profile to ensure we don't keep around useless data.
Test: m test-art-host, 595-profiling-saving
Bug: 77839992
Bug: 79200824
Change-Id: I238d56ba4eeec96a3464e42f164d0e798f555ec4
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions