aboutsummaryrefslogtreecommitdiff
path: root/libdex/OptInvocation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* libdex: Invert the default for dexopt-on-cacheRicardo Cerqueira2013-12-191-1/+1
| | | | | | | | | | | | | | | The growth of /system apps and total /data space are making this device-breaking (insufficient space to dexopt everything to /cache), pointless (/data has more than enough room to hold the cache), and in some cases, both. The default behavior is now the same as mainline Android's: dexopt everything to /data. Set dalvik.vm.dexopt-data-only=0 to change that and dexopt /system apps to /cache. If you do that, make sure your /cache can accomodate double the size of the dex classes in system, since in some extreme cases that has been observed during dex2oat Change-Id: Ia99655731c882e54bdc85293c467288fb4dc65df
* Unbreak building host modulesRicardo Cerqueira2013-11-061-0/+6
| | | | | | bionic is now a dependency for properties Change-Id: Icd406e639ca297244ab809f523c6830c2240d20b
* libdex: Skip the dexroot-on-cache stuff for user buildsSteve Kondik2013-10-231-0/+2
| | | | Change-Id: I432b96ae3e25977ea17558b4a3f8ca90903cb5b5
* Revert "Disable /cache/dalvik-cache (temporarily?)"Fused2013-08-031-2/+0
| | | | | | This reverts commit 59e79c413311dc6796683dc34ce00e5842e7f3cc. Change-Id: I81bc9a338b7bf2c40fa1850981359505e36ffa29
* Disable /cache/dalvik-cache (temporarily?)Ricardo Cerqueira2013-07-261-0/+2
| | | | | | | | | | When writing to /cache, processes are inheriting their own ownership permissions instead of the system/metagroup abstraction used in /data, which makes writing to this dalvik-cache fail. Go back to using only /data until this is identified and fixed Change-Id: I9ae19321f158ac86a9c5dd4d2db1268eec278c11
* dvm: Bring back the ANDROID_DATA overrideRicardo Cerqueira2013-07-241-1/+1
| | | | | | | This got broken by the split-cache patch, and it's impacting the CTS vm unit. Fixit. Change-Id: I602824afef19c92a4d2c1702d10c8f0315277227
* DexOpt anything in /system on /cachectso2013-07-241-1/+31
| | | | | | Allow system property to disable use of /cache for dexfiles. (manually cherry-picked commit 15d27bbe10e307136e081bedb7cf25131896f1cb)
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-2/+2
| | | | | | | | | 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
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-1/+1
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I8bd96961e369a08e86ff78b82d90f20f42787eb1
* Add some error checking and clean out some cruft.Dan Bornstein2011-06-021-4/+5
| | | | | | | | | | | | | | | | 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
* Conservation of newlines in libdex.Dan Bornstein2011-05-251-2/+2
| | | | | | | The log facility adds newlines automatically, and the prevailing convention is now to omit them. Change-Id: I14762ea4a7c24eea333f778724a0e4b6b65bae2b
* Compile libdex as C++.Dan Bornstein2011-04-141-0/+142
The major-looking code changes were all just to unravel some gotos. Change-Id: I86f98a48b160f357ce93c87446bad5d705d5f05b