dalvik/vm: Dalvik startup with a low memory footprint

Initialize concurrentStartBytes and createMspace using HEAP_MIN_FREE.
This helps save Android framework memory after boot.

This is for low memory targets only(~512MB RAM & hdpi resolution)
Also, set TARGET_ARCH_LOWMEM in the BoardConfig.mk file of a device
for this patch to take effect.

Change-Id: Ib164c5eaf3236fe2de2697e84de4ee85f8997e94
Revert "Zygote: Restrict slave mountspace so Dalvik apps can mount system-wide volumes"

No longer needed as su calls piped through the Superuser daemon run outside
zygote mountspaces.

This reverts commit a4c574321cfe9d874e69d365b1326ccc27f4e9dd.

Change-Id: I39ad8842604b5067dc3e735bcbe5fce1f3454ca8
Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/dalvik into cm-10.2

Android 4.3 Release 3.1
If dalvik wants ASCII casing, it needs to ask for it.

http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html

Bug: https://code.google.com/p/android/issues/detail?id=58359
Change-Id: I1601cda215ebc5995117323e40a684ad352fe733
Disable Dalvik spam by default

Reverse the logic: use "dalvik.vm.debug.alloc=1" to see these lines.

Change-Id: Id58de1dd09467c2327f76d37eeb926b712d6af52
libdex: Skip the dexroot-on-cache stuff for user builds

Change-Id: I432b96ae3e25977ea17558b4a3f8ca90903cb5b5
Reject dex files that attempt to use unspecified class access flags

Change-Id: Ib1ecf3dfe1856a9014c2e9b0d6a1725ba7617f98
Move verification of class access flags to libdex

Change-Id: I020a168cfff46e319b0bebb6c7477f0b4139c6de
dalvik: dalvik device extension pack.

Add support for customer device extension

Change-Id: I0402a630ba212d1c5e81cda110f61210f7b60384
(cherry picked from commit 11499df326462bfe25890a35c6abbf019ff7784e)
(cherry picked from commit e03b8f8da9cf4eef64cedf39ce9ca90d26ce5124)
(cherry picked from commit fb360be406f35b9591f12c61936657f03cc5880f)
GC triggering performance optimizations

Copy the correct starting heap size at process init.
Interfaces to set GC/managed heap parameters.

Change-Id: I454b1985a3225d7dbdea9c5d4e6f0c9f5e24352e
(cherry picked from commit ea59f91c8559dee1710f38a27db10f76f4753fea)
(cherry picked from commit 12fc949d46e988ce6877ad4c60f5fc983c5dc202)
(cherry picked from commit 73a1dac0b14ab5159453c2d696049e233e7476b0)
Dump hprof when app encounters Out of memory

These changes will only dump application hprof when debug
property "dalvik.debug.oom" is set to -1.

CRs-Fixed: 471156

Change-Id: I41fbbd5cdaa852cd5e8896186e9d3993688a9cb0
(cherry picked from commit eac7514a989e78b191fde100475b907427158b8d)
(cherry picked from commit 63a1141f9bb9fc58beacdde1e8e24df82fe6e000)
Revert "Move verification of class access flags to libdex"

This reverts commit aa897b06230453519c4ec636f229c72ac0015897.

Revert "Reject dex files that attempt to use unspecified class access flags"

This reverts commit 2f824d3e4835479409724ea02d0a23114cd4ff81.

Revert "If dalvik wants ASCII casing, it needs to ask for it."

This reverts commit d91250308fc4c423d11955174c21566fa19df07c.

Revert "JIT: Combine add with shift and offset for array load & store."

This reverts commit a9ecd84e5f5423a1ba6bbb2bb9256b0dc382de44.

Revert "JIT: Use rsb and shift in easy multiply."

This reverts commit 25b94295a57290623e34882e7fd86ea10928a54e.

Revert "Excessive JNI: Dump HPROF dump."

This reverts commit 8d30a7402d48c4ffe2bf28ede78c6b3b52b15304.

Revert "dalvik/vm: Dalvik startup with a low memory footprint"

This reverts commit 15726c81059b74bf2352db29a3decfc4ea9c1428.
Merge tag 'android-4.4_r1' into cm-11.0

Android 4.4 Release 1.0
Unbreak building host modules

bionic is now a dependency for properties

Change-Id: Icd406e639ca297244ab809f523c6830c2240d20b
Merge branch 'kk_2.7_rb1.9' of git://codeaurora.org/platform/dalvik into caf

Change-Id: I885fab2470352d0a625c9946d0d5c9111486b713
Merge remote-tracking branch 'cm/cm-11.0' into kitkat

Conflicts:
	vm/Android.mk
	vm/alloc/Heap.cpp
	vm/compiler/codegen/arm/CodegenDriver.cpp
	vm/compiler/codegen/arm/Thumb/Gen.cpp
	vm/compiler/codegen/arm/Thumb2/Factory.cpp
	vm/compiler/codegen/arm/Thumb2/Gen.cpp