Use MAP_FIXED in remapNewHeap

The heap address must not change when it is remapped

Change-Id: Ia44f178932e2afe8de3d4739e7085caae8568885
Signed-off-by: Pete Delaney <piet.delaney@imgtec.com>
Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
Let dalvik use <stdint.h> for SIZE_MAX.

Bug: 12708004
Change-Id: I96a167e1161d6350dfb97aff1c59d1ec39db9628
Merge "Let dalvik use <stdint.h> for SIZE_MAX."
Revert "Protect JIT Code cache modifications with version check"

This change was causing timeouts that led to native crashes. I'm reverting this change until we figure out why this extra locking caused that.

Bug:12554497

This reverts commit 522811d183e5cc7d5ac3e1bce1baa16e0d9a7170.

Change-Id: Ia3a43f698703e8ddc54ca501103a07e276851723
Merge "Revert "Protect JIT Code cache modifications with version check""
dalvik: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it
with LOCAL_MODULE_RELATIVE_PATH.

Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
Update Dalvik native interfaces for startMethodTracing.

Bug: 12766325
Change-Id: I1a3e041df339172f8acdbf582112f010e32be835
Merge "Update Dalvik native interfaces for startMethodTracing."
Merge "dalvik: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"
dalvik: don't build unit tests on eng builds

Building the unit tests forces libdvm to build and install.  Set
the unit tests to optional (the default) so they only build for
a checkbuild or an mm in dalvik.

Change-Id: Ia1f1f7071fc0cbe445c0382e8806ebc9a2e98849
Merge "dalvik: don't build unit tests on eng builds"
Switch dalvik over to a long in DexFile.

Change-Id: I75798b22a64ee3f5aa8429bb22ac25e5b9966247
Merge "Switch dalvik over to a long in DexFile."
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
Merge "Use MAP_FIXED in remapNewHeap"
Fix dalvik script file to be able to run without defining environment variables.

Change-Id: I344437997de020225225b1e884fb2b79b525f98b
Merge "Fix dalvik script file to be able to run without defining environment variables."
Move dalvik off cacheflush so we can deprecate it.

Bug: 12965705
Change-Id: I805428e3103ff578d048ecbbc6ae30c0ead19ef9
Merge "Move dalvik off cacheflush so we can deprecate it."
Merge "Finish fixing Zygote descriptor leakage problem"