Add back "Zygote: Restrict slave mountspace so Dalvik apps can mount system-wide volumes"

did not solved at all the problems we thought behind it + that a lot user are missing now the cfis support. Due that this patch did not break anything we add it back and will search the real cause of the random app install reboots

This reverts commit 90024d85fd20375ed798e1cb949ba2129c9c2362

Change-Id: I4329a279ddbbcbcb29ea67ba8385154323442c57
Merge "Add back "Zygote: Restrict slave mountspace so Dalvik apps can mount system-wide volumes"" into jb4.2
JIT: Use rsb and shift in easy multiply.

For easy multiplication using reverse subtract (when
lit is 2^n-1) use the barrel shifter for rsb.

This improves arithmetic performance for code executing
in Dalvik. E.g String.hashCode.

Change-Id: I3bba4e24c6333f9910c24c4bd3effaf5c4dd9cab
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
JIT: Allow use of cbz/cbnz for conditional branch gen.

Optimize conditional branch generation when comparing
with zero for ARM JIT. When possible use cbz/cbnz
instead of cmp+beq/cmp+bne.

This improves performance for usecases involving
code execution in Dalvik.

Change-Id: Iffd455d9cbb3ef0b1f87caafdae1b72ba3f0d2fc
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
Disable -Xjnigreflimit.

This was supposed to help find bugs, but in practice (unlike the
locale reference limit and the pinned array limit) doesn't. What it
does do is cause well-behaved code to fail if its allocation rate
is high. This has caused trouble for both audio and graphics code
running on eng builds.

Bug: 7903975
Change-Id: If475cb51c9cab13270a83a60d6d0aecfab758e88
Disable DalvikVM GC logcat spam

Dalvik logs everytime a garbage collection is run. Disabled to remove
clutter from logcat. Can be renabled by #defining DEBUG.

Change-Id: I57a461857f8d0ecbf223f3c18187f62095adb5b4