commit | 7506423b2b9ea13fc5fa9711ab0106977876a5a2 | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Mon Apr 18 16:38:27 2016 +0100 |
committer | Calin Juravle <calin@google.com> | Tue Apr 19 15:42:56 2016 +0100 |
tree | 334e56429015d9235a5e8d0dab0dd479480e316f | |
parent | 78d7c8826d5cca583202085dfde382fb6fcc1629 [diff] |
Skip profiling if the dex file is fully compiled The OatFile does not store the original dex location that was used to compile the file. So in order to get the oat file for a given code path we need to iterate over the inner oat dex files and check against them. Also, we used to pass the unfiltered code_paths set to the saver which would make the filtering useless. This fixes the parameter passing as well. Bug: 27893309 Change-Id: Ia95d61a82a9e74769ebf3329bb1f9c714bcff27f