Revert "Revert "JIT: Performance fix for const doubles""

This reverts commit 6799723387fe725e5418a83d2762539530a8835c.
Merge github.com:CyanogenMod/android_dalvik into cm-10.1-linaro
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
Fix -Xjitthreshold (for real this time).

My previous "fix" (c89d83e1c05979b68037ad15413fa4460a88e36f) had the
conditions reversed, so you _had_ to use -Xjitthreshold to get a non-zero
threshold, but when you did, you'd get the default instead of what you
asked for!

This was spotted by the jank tests.

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
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
 Disable dalvikVM logcat entires

  ALOD is used so these entires only show up on user_debug build arent useful
  on shipping roms for anything but debuging dalvik.

Change-Id: I0c25104c20382eaf1b686a302675e165aae61545
Fix a tracked reference leak in dvmGenerateProxyClass.

Bug: https://code.google.com/p/android/issues/detail?id=43919
Change-Id: Ib5c217368ba75f4422d0c932c2c67daaaeddea4b
Use execv from Libcore

Change-Id: Idc862adef2a95636c85992e1954651b4e0bcaf16
Remove stray references to non-existent opcodes.

Change-Id: I83ca6ea12344a8df7ef14d600baf5060b76870f5
Move the arraycopy implementation out of bionic and into dalvik.

Change-Id: I5b7964e53eca6f2da949d6ef24d42a9c6ed3996c
Added missing initialization of modLock when DvmDex structures are allocated.

The structure is zeroed with dvmAllocRegion (use to be calloc) which for most
implementations of pthreads behaves correctly as if initialized. However, an explicit
initialization is more correct.

Change-Id: I172fed73c2a8a6962d720f78c60436b4f58cc168
Fix a minor leak in handleVM_CreateString

Change-Id: I3273e5d2eb4621202837c43270a466fe056d6894
Fix a minor leaks caused by failed initializations.(typo)

Change-Id: I62bc3ea48938a4f54e9f47218d4025e954a6d566
Fix a leak in Dalvik_dalvik_system_DexFile_openDexFile

Change-Id: I2b394c620af31914606763b35847b7f412774cf4
Tiny optimization for complier templates for arm.

1. Remove possible bubble in TEMPLATE_STRING_INDEXOF.S
2. Remove 1 instruction and reorder the opcodes
   TEMPLATE_MUL_LONG.S
3. Reorder ldr r2 instruction in TEMPLATE_RETURN.S

Change-Id: I571c1278aa72cb1e6dbc6efe433932d5e9591b80
Revert "Revert "Revert "JIT: Performance fix for const doubles"""

This reverts commit b7342423942640542e82e3fa4387602e1eccaf58.
Merge pull request #1 from loosethisskin/cm-10.1-linaro

Cm 10.1 linaro
Lets make this less confusing, this is dg4prez's triple revert.

Im reverting it so we can have a more clear cut understanding of what the dalvik revert fixes

This reverts commit f754928eb08812a09d0b7bc7fea8cab8c92e67cc.
Revert "JIT: Performance fix for const doubles"

This is causing Location.distanceTo to sometimes return invalid
values.

http://code.google.com/p/cyanogenmod/issues/detail?id=6883

This reverts commit 628eee61e62ca7b1e6f8d0dee6e488477b9472f6.