summaryrefslogtreecommitdiff
path: root/libnativeloader/library_namespaces.cpp
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2021-06-08 13:45:09 -0700
committer Calin Juravle <calin@google.com> 2021-06-17 20:21:18 +0000
commit17374091085affd929d03664bee5a827e76b1b21 (patch)
treee4c1b72d68a76e47dd96fbe5923658a627d93545 /libnativeloader/library_namespaces.cpp
parent71b2cb54099218952385c8c295dbff8be81263ce (diff)
Be more prescise in the profile analysis
Distinguish between: - compile - don't compile because we don't have enough delta (standard case) - don't compile because all profiles are empty This will help us be more precise in the compilation strategy and avoid re-compiling verified dex files when the profile is empty. Also, this CL fixes dexoptanalyzer tests. We needed to generate odex files instead of oat files in the dalvik-cache when testing the functionality. That's because during tests, the parent directory of the apk is always writable and OatFileAssistant will believe that it needs to select the odex files despite having an oat file. The fix caught issues in the downgrade test, which were also addressed. Test: gtest Bug: 188655918 Change-Id: Id8370541f73465b32dc91aeacf2ba4dc2656c290
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
0 files changed, 0 insertions, 0 deletions