Commit d5aeadea authored by Calin Juravle's avatar Calin Juravle
Browse files

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
parent 9926e461
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment