Use 64-bit Linux capabilities when starting Zygote

Enable 64-bit capabilities when starting Zygote to allow
>32-bit capabilties to be set, such as CAP_BLOCK_SUSPEND.

Change-Id: I2821a2a393dc521c7b99a7283ba17b3ae3b375fd
Merge "Use 64-bit Linux capabilities when starting Zygote"
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: Ia1dec6e89ef8285f1e12644bcdc6ca17a15e37a2
dalvik: use T3 branch when target offset is too large

T1 branch has offset limit of [-256, 254]. T3 branch has offset
limit of [-1048576, 1048574]. Use T3 branch when target offset
falls outside T1 range to avoid compiliation abort.

Change-Id: I86809e08236b1f5f5102e3fce4df4b1e72e4b96c
Dalvik : Increase the upper limit check for DexOpt Deps table

Increasing upper limit check for the Deps table as additonal
jars added causes the dalvik to crash while performing dexopt
on cached jar files. This is needed for passing cts test case
which is part of libcore.java.util.jar.DalvikExecTest class.

CRs-Fixed: 573586
Change-Id: Ic991ca7b49cdd80cdba330edc759ece43361f9fb
Merge "dalvik/vm: Dalvik startup with a low memory footprint"
Merge "Dalvik : Increase the upper limit check for DexOpt Deps table"
Merge "dalvik: use T3 branch when target offset is too large"
Merge branch 'kk_2.7_rb1.11' of git://codeaurora.org/platform/dalvik into cm-11.0
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Add an extra guard around perf enablement

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

Conflicts:
	vm/Dvm.mk
JIT tuning; set cache size on command line

The tuning knobs for triggering trace compilation for the JIT
had not been revisited for several years.  In that time, the
working set of some applications have significantly increased,
leading to frequent cache overlows & flushes.

This CL adds the ability to set the maximum size of the JIT's
cache on the command line, and we expect to use different settings
depending on device configuration (rule of thumb: 1K for each 1M
for system RAM, with 2M limit).

Additionally, the trace compilation trigger has been tightened to
limit the compilation of cold traces.

Change-Id: Ic338d7dc1a4e8ad194a52ef964b133a56a2e170e
Revert "Show size/alloc/free per Dalvik heap space in dumpsys"

This reverts commit 478976606f43c8095c829a5b78d79ff50b4c43ef.

Conflicts:
	vm/alloc/HeapSource.cpp

Change-Id: Ic07cd2720d3e7a999a7621d2e93cbc80e3b9d225