History log of /dalvik/libdex/OptInvocation.cpp
Revision Date Author Comments
7d765f1d167ad205040e588f339ee057ba83b9cc 29-May-2014 Brian Carlstrom <bdc@google.com> Fix Windows SDK build

Change-Id: Ia11ad288a165040e3895115632e1eebd5b8bb976
cc54b98659bad043bb9d2ec5cf2c7456ccb9728d 28-May-2014 Brian Carlstrom <bdc@google.com> Add .../dalvik-cache/<isa> directory creation for art/run-test --dalvik support

Change-Id: Idcf995f1d4862a2984966d308ba45633ba687a81
e4e5d8caab4869eaec8995e8e64e4fa7af914845 01-May-2014 Ian Rogers <irogers@google.com> Define kInstructionSet for x86-64 and arm64.

This fixes 64-bit host compilation of libdex.

Change-Id: I364b624e12620f844cc7bbaa08e679c8a529f87c
44e824dd0836b5b2413b0464449db89972065de2 29-Apr-2014 Narayan Kamath <narayan@google.com> Track package manager changes for arch specific dexopt.

- Changes signature of isDexOptNeededInternal. No behavioural
changes are needed because dalvik only uses the first argument
to the function (the "name") and dexopt is architecture agnostic.

- Changes dexOptGenerateCacheFileName to place dex files under
/data/dalvik-cache/<instruction-set>. This allows us to avoid
needing dalvik specific logic in the package manager and installd.

(cherry picked from commit f752d041dac2cc8e26d03292ffec986a2bf905f9)

Change-Id: Ie31c9925269d6ac97d358ce49219557692704329
f752d041dac2cc8e26d03292ffec986a2bf905f9 29-Apr-2014 Narayan Kamath <narayan@google.com> Track package manager changes for arch specific dexopt.

- Changes signature of isDexOptNeededInternal. No behavioural
changes are needed because dalvik only uses the first argument
to the function (the "name") and dexopt is architecture agnostic.

- Changes dexOptGenerateCacheFileName to place dex files under
/data/dalvik-cache/<instruction-set>. This allows us to avoid
needing dalvik specific logic in the package manager and installd.

Change-Id: Ic3c6c2a1eca47de0be90564abd6d0c8caff9ce06
c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Also fix an occurrence of LOGW missed in an earlier change.

Bug: 5449033
Change-Id: I2e3b23839e6dcd09015d6402280e9300c75e3406
92c1f6f1b4249e4e379452ee7b49f027052bf4ce 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I8bd96961e369a08e86ff78b82d90f20f42787eb1
6f9edbe7d3a83f7741c4d56f9f5be1414ecabc9f 02-Jun-2011 Dan Bornstein <danfuzz@android.com> Add some error checking and clean out some cruft.

Error checking #1: When a cached dex file can't be created, do extra
analysis to figure out (and report) why.

Error checking #2: When opening classpath entries, become sensitive
to the file extension, only trying to open files with the right
extensions and complaining explicitly if it's unrecognized.

Cruft cleaning: We've never supported finding class files in directory
hierarchies in Dalvik. Fix some related comments and clean out some
code that tried (in vain) to implement a piece of that.

Bug: 4523201
Change-Id: I05b7a8570f147955cd62229fca72b50d36703752
614dca3bb487f17ef8ea37a82a22dd6c4abc027e 26-May-2011 Dan Bornstein <danfuzz@android.com> Conservation of newlines in libdex.

The log facility adds newlines automatically, and the prevailing
convention is now to omit them.

Change-Id: I14762ea4a7c24eea333f778724a0e4b6b65bae2b
a70a3d8faa8f7332549fa0c9ae2008d428e28606 14-Apr-2011 Dan Bornstein <danfuzz@android.com> Compile libdex as C++.

The major-looking code changes were all just to unravel some gotos.

Change-Id: I86f98a48b160f357ce93c87446bad5d705d5f05b