History log of /art/dexoptanalyzer/dexoptanalyzer_test.cc
Revision Date Author Comments
e4e812a917345a3cb9ac955c8a84f64dfc26b5d9 26-May-2017 Shubham Ajmera <shubhamajmera@google.com> Allow DexFile#getDexOptNeeded to check case when downgrading is required

The change in the API will allow comparison of compiler filter in case when
downgrade is required. Previously, it used to only consider cases of compiler
filter upgrades.

Test: make & boot
Bug: 36598475
(cherry-picked from commit cf3d122a9234414b7cd2aab340d1450f3e9da213)

Change-Id: Ice292ef4f16c373297821c40e39987f3de914c67
cf3d122a9234414b7cd2aab340d1450f3e9da213 26-May-2017 Shubham Ajmera <shubhamajmera@google.com> Allow DexFile#getDexOptNeeded to check case when downgrading is required

The change in the API will allow comparison of compiler filter in case when
downgrade is required. Previously, it used to only consider cases of compiler
filter upgrades.

Test: adb shell cmd package bg-dexopt-job
Bug: 36598475
Change-Id: I07616b7441fd39f7e8477f1ec46e10d425a2d001
a10ac2ac733a9dc07962cfea2502605141e61953 21-Apr-2017 Nicolas Geoffray <ngeoffray@google.com> Rename and obsolete compiler filter names.

ART side of the change.

bug:34715556
Test: test-art-host, jdwp, libcore

(cherry picked from commit 49cda06d5bf003f588ba7839bbf89d606237dfa7)

Change-Id: I85126e5035f0f6fc15aa84d41af5f1d6e25a5f55
49cda06d5bf003f588ba7839bbf89d606237dfa7 21-Apr-2017 Nicolas Geoffray <ngeoffray@google.com> Rename and obsolete compiler filter names.

ART side of the change.

bug:34715556
test: test-art-host, jdwp, libcore
Change-Id: I3a73ae4af2d602431150c8ecfceaddb9ba519cee
36eb313c805713c1367e5b9d73897ade1c24174b 14-Jan-2017 Calin Juravle <calin@google.com> Add dexoptanalyzer tool

dexoptanalyzer is a command line tool which analyzes whether or not a
given dex file needs to be dexopted. It is a wrapper around
OatFileAssistant::GetDexOptNeeded and its results have a mapping to
OatFileAssistant::DexOptNeeded.

This is needed for the management of secondary dex file. We need a way
to retrieve the DexOptNeeded status from installd outside system server.
We can't simply use the system server path (as we do for the main apks)
because system server can't access content writable by the apps.

Bug: 32871170
Test: m test-art-(host|target)
Change-Id: Ife1534560ca2658079d4a38a30bc8d94f35fe9c8