summaryrefslogtreecommitdiff
path: root/libnativeloader/library_namespaces.cpp
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2021-06-08 13:45:09 -0700
committerCalin Juravle <calin@google.com>2021-06-18 15:24:12 +0000
commit5463685f4df4c37b72db0d282628dd83854826fa (patch)
treea289dfd6e0c242fc63d6dd05f16e43281a48eae6 /libnativeloader/library_namespaces.cpp
parent1bb712a69db6758420652b957f3bc9c1246f15f6 (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 (cherry picked from commit 86fef6a8bf321edde046b739df4a732e602bcab5)
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
0 files changed, 0 insertions, 0 deletions