summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2018-05-08 18:23:24 -0700
committerCalin Juravle <calin@google.com>2018-05-09 14:49:49 -0700
commitbafecb367afcb79ad53d9d0e8352889ef83667f9 (patch)
treea6a414b9b1cac382070f9247627a6f8c88b9db7e /compiler/optimizing/codegen_test_utils.h
parent3105b2767db5fccd09a8dbe812f243c5e207c8a1 (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 (cherry picked from commit d5aeadeac0debd90d0a931c1d41bee6a2d32b209) Merged-In: I6da21c3b8e39feeffe07da39a3b6bb4b271c1293 Change-Id: I6da21c3b8e39feeffe07da39a3b6bb4b271c1293
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions