Excessive JNI: Dump HPROF dump.

This change would dump the heap memory status before we abort the
VM because of excessive JNI refs.

Change-Id: Iaf43ee0f2f40fc007e231dd10d1c6c6d95284896
Add barriers for proper observation sequence.

Change-Id: I5c2ef043920fe60c92304cd2c8a857a805b6e9af
GC triggering performance optimizations

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

Change-Id: I454b1985a3225d7dbdea9c5d4e6f0c9f5e24352e
Disable /cache/dalvik-cache (temporarily?)

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
Merge branch 'cm-10.2' of github.com:CyanogenMod/android_dalvik into cm-10.2