last replication test

Change-Id: I0aad81c8d52646c61569cf548908daf8886d579a
Removed excessive GC freed lines instead disable them

CM has introduced a method to disable GC freed lines by setting dalvik.vm.debug.alloc to 0. See http://review.cyanogenmod.org/#/c/45785/
Now I doubt whether this method is effective or even could make the dalvik performance worse than before.
This method checks the property of dalvik.vm.debug.alloc and convert the property value from string to integer everytime before dalvik writes debug line to logcat.
It is probably better to let dalvik to do only one operation to write debug line rather than to do two operations:
* Looking a property from a map that could contains hundred of properties
* Converting property value from string to integer
Since Heap.cpp is not a class, we cannot have a member variable that holds the dalvik.vm.debug.alloc value by reading it only once.

Remove the debug lines together with other information that are used in the debug line.

Change-Id: I164584bc3f53e5471a2e194125a867fd244a5774
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.

Conflicts:
	vm/alloc/HeapSource.cpp

Change-Id: I251dfe3d36c5085de48c8d3defd0e8709eeb678b
Finish fixing Zygote descriptor leakage problem

In order to prevent Zygote descriptors from leaking into the child
environment, they should be closed by the forked-off child process
before the child switches to the application UID.  These changes close
the descriptors via dup2(), substituting a descriptor open to
/dev/null in their place; this allows the Zygote Java code to close
the FileDescriptor objects cleanly.

This is a multi-project change: dalvik, art, libcore, frameworks/base,
and external/sepolicy are affected.  The CLs need to be approved
together, lest the build break or the software fail to boot.

Round 2: whitespace

Bug: 12114500
Change-Id: I989c83291d0c42d4cad63f24a3e98a93e231c9d3
Remove old fork-and-specialize API

As promised, this is the cleanup patch-set which removes the
old native "fork and specialize" API, which has been replaced
by a slightly-enhanced one which can close the Zygote socket
descriptors in the Zygote child.

Change-Id: I33f504afd242e268863270139b4e421d4b0728f2