Fix a minor bug in dvmCreateInterpThread

Change-Id: I452ee02290bc7e0be7fefcf5755c5cd9628142dc
Report problems as errors in dx (with exit codes)

(cherry picked from commit 593a7233e13d6eeb8ae5d894e29c6a27cbc7b7f0)

Change-Id: I6421f95ceb97a596a19781e46cb4767bfb21cdbd
Fix some leaks in VfyBasicBlock & BitVector.

Change-Id: I20050135588fc96268911b8ab690b04c8ad949bc
Fix bug on register compatibility.

- Bad register usage to compute prefix or suffix expansion.

(cherry picked from commit 5bce02865087b7ec3c6321a1bef9542c18b0f90e)

Change-Id: Ife9b2b07870bbc933f959c194a4a72dfa9507cfb
Fix bad whitespace alignment from LOGW to ALOGW change

Change-Id: I8eba74b92976f433aff42e6c4461e3127e519d77
Remove unnecessary JNI_H_INCLUDE from LOCAL_C_INCLUDES

Change-Id: I463a62898e5dd8eb01d1dfbaf71f67d8e1b4e67c
Fix a leak in dvmFreeVfyBasicBlocks

After free each items in array vdata->basicBlocks,
free vdata->basicBlocks itself.

Change-Id: I20050135588fc96268911b8ab690b04c8ad949bc
Work around a dalvik JDWP/GC deadlock.

Also add a few missing TEMP_FAILURE_RETRYs that can cause dalvik to
incorrectly decide that the debugger connection has been broken.

Bug: 8191824
Change-Id: I791b514c6bec1ca634a65d9f87c5fa06da01b5ed
Track libcore DirectByteBuffer cleanup.

Bug: https://code.google.com/p/android/issues/detail?id=53637
Change-Id: I7acd990a2a48b41dacb5b09f6410b4634dd60438
Fix a cast in JniEnv::NewDirectByteBuffer.

Change-Id: I8692b31c6ce64efc68124df02117b6e4529dfe98
Don't crash if the dmtracedump -d file doesn't exist.

Change-Id: Ie4b504b43a8a61d09ca60d68b1a62694391ac223
if parameter -D could not be accessed, issue warning and process single file

original author & commit: http://review.android.git.linaro.org/#change,3376

Change-Id: Ibe1bc9d78333ed8e381477034523ce8beec16af7
dvz: remove dead code.

dvz is never used.  Delete it.

Change-Id: If2b5ccbf6668a1044a0d57e09ce6d0c0923c6c76
Fix DDMS crash

(cherry-pick of 22d8dba8ae5be7aecb07322a410712206896fa15)

Change-Id: Ic5edd3d9367db8570523e1380c3e6edfabeec2c0
DexDump: Leak in FieldMethodInfo.signature

Free pMethInfo->signature when filled by getMethodInfo.

Change-Id: Id278d732374daceb7b8b05be7f433af25eee0c27
Don't cache failures in the interface cache.

If we try to reuse a failure, we'll be holding a NULL Method* without
the current thread having the appropriate exception pending, which will
lead to a SIGSEGV.

I've added a corresponding vm-test to cts/.

Bug: http://code.google.com/p/android/issues/detail?id=29358
Change-Id: I044e438c46fce256c8eff2dac5d86778734d5614
Remove dvmFindInterfaceMethodInCache2.

We can just use dvmFindInterfaceMethodInCache directly.

Change-Id: I2f3a660262ba7a39c05689df160ebdd2e7ec38a5
Use ALOGE rather than SLOGE for mountEmulatedStorage failures.

Otherwise the actual failure isn't in logcat, and all you see there
is the rather confusing:

  E dalvikvm: cannot mountExternalStorage(): Success

Change-Id: I10c96748b5ff5b6c3877312e7bdb2641026b4489
Revert "Zygote: Restrict slave mountspace so Dalvik apps can mount system-wide volumes"

This reverts commit cb04b13e658071006b38d54cd1fc8a1c95ebbd49.
Revert "Revert "Zygote: Restrict slave mountspace so Dalvik apps can mount system-wide volumes""

This reverts commit bc43cd23a2330c954f4d3b6473994b2684277ee3.