vm: vmruntime: remove obsolete dependency on array.h

Change-Id: Ib1a0143752e701bf2f1e0b7edb4ea7829aa4edc3
Signed-off-by: Dima Zavin <dima@android.com>
Move verification of class access flags to libdex

Change-Id: I020a168cfff46e319b0bebb6c7477f0b4139c6de
Reject dex files that attempt to use unspecified class access flags

Change-Id: Ib1ecf3dfe1856a9014c2e9b0d6a1725ba7617f98
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
Print proto_ids_{size,off} along with the rest of the header.

(cherry picked from commit 6e5f79ce9af380d12238a4ed958cdb56e5490ced)

Change-Id: Ie1df9e0f23d8f5fcea4b6ed7487c61a8182e1a65
Fix a leak in dvmFreeVfyBasicBlocks

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

Change-Id: I20050135588fc96268911b8ab690b04c8ad949bc
Abstract methods aren't implementations.

We should only be checking the visibility of actual implementations
of interface methods. Intervening abstract methods are allowed to
be non-public.

Bug: https://code.google.com/p/android/issues/detail?id=42991
Change-Id: I510d0cc6c1f89d161d4ebad7ef058c03fa09e9b0
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
Fix flakiness in test 080-oom-throw.

The problem was that the instance test could potentially fill the
heap close enough to the edge that you'd hit a follow-on OOME in
the attempt to print the success message, causing the test to fail.

I've also made the code a bit clearer while I'm here.

Bug: https://code.google.com/p/android/issues/detail?id=54114
Change-Id: I39127c3ea6a99940fa66ad8763bbbf6c01d308ef
Fix warm reboots that cause "JDWP" to tombstone.

This reverts commit 99ac88af7d0b1a6dd4900b37c0b872c28a5789cd
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
Check JavaVMAttachArgs::version in CheckJNI.

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

Change-Id: Ie4b504b43a8a61d09ca60d68b1a62694391ac223
Fix -Xjitthreshold.

Previously, we'd always overwrite the user-supplied value because
the architecture-specific default gets set so late.

Bug: https://code.google.com/p/android/issues/detail?id=52017
Change-Id: I469bf9ce599820f5ce3dea346aa8f680deffb0c5

Bug: 8285558
Bug: https://code.google.com/p/android/issues/detail?id=52017
Change-Id: I28270f2573d46929eb10d30789fecf7d5a8cea75
Zygote: replace set?id() with setres?id()

setuid -> setresuid()
setgid -> setresgid()

Change-Id: I319a6a0ea63cf5bd3755ec8371064365be30872b
dvz: remove dead code.

dvz is never used.  Delete it.

Change-Id: If2b5ccbf6668a1044a0d57e09ce6d0c0923c6c76