ART: Do not try to pretty-print method in dex file

The code is called in verification when it is not clear yet whether
structures are valid. Simplify warning message.

Bug: 15754233
Change-Id: I85858a71143f41444ce9f00536d901c268afe547
ART: ReadFully needs to fail when EOF

Besides an explicit error, we should stop trying when we unexpectedly
reach the end of the file.

Change-Id: I16d601e1b5bcbc39cb8c4dd7fd3dbb7d69016579

Conflicts:
	runtime/base/unix_file/fd_file.cc
Use command line android root in dex2oat to find image.

Change-Id: I20a025e07da3792131d7126ef0e5863b923c794b

Conflicts:
	dex2oat/dex2oat.cc
Use reader lock of bulk free lock when not freeing.

Should help reduce contention observed in systrace.

Change-Id: Iadb81728d4ba797c3a68acea795b15d7f212e89b

Conflicts:
	runtime/gc/allocator/rosalloc.cc
Fixed ImageWriter timings not being written out.

During host runs of dex2oat the timings for ImageWriter would not be
written out.

Change-Id: I74ce8bae724d1e732a6a1efb1c82804473081693
ART: Use ANDROID_HOST_OUT for ANDROID_ROOT in Runtime tests

On the host, if ANDROID_ROOT is not set, first try ANDROID_HOST_OUT.
This will ensure that builds with OUT_DIR_COMMON_BASE will run the
gtests correctly, as icu will use ANDROID_ROOT to look for a file.

Change-Id: I8988901be32249c1c79f96b36947a647df5de041
Fix JNI ToReflectedMethod for constructor

Returns java.lang.reflect.Constructor object for <init> and <clinit> methods.

Bug: https://code.google.com/p/android/issues/detail?id=72312
Bug: 15885285
Change-Id: I2f4a266b2d9574659673dc6966104860578d709e

Conflicts:
	runtime/jni_internal_test.cc
ART: Bump runtime version to 2.1.0

Bump the version of ART to 2.1.0 to reflect recent changes like
native MultiDex support.

Change-Id: Idcff71faac932c2b30359fbe13a975fb818ecb0e

Conflicts:
	runtime/runtime.h
Avoid segvs if LOG(FATAL) is called during runtime start-up.

Change-Id: I8b054d0ff2084411ab49ebba83799eb79da879f6
Add test for https://android-review.googlesource.com/99853 .

Change-Id: I5a1614bf8bd92f21a9b15aa8ccb4cd5fe92a025a
Check invoke type for intrinsic method invokes.

Bug: 16017877
Change-Id: I931c0b19b500a042bc9235aa18212c4ab5240745

Conflicts:
	compiler/dex/quick/dex_file_method_inliner.cc
Fix style issue.

Change-Id: Ifc73dd4331d91be8c6c5eed2159ec1733fa84995
Fix art script for 'clean' environments.

We need to define ANDROID_HOST_OUT in the script before using it.

Change-Id: I6b415d8de5fb6001bc579b013683957abb33f394

Conflicts:
	tools/art
Make jemalloc the default choice.

Change-Id: Iadf29d28758bc17904098b4eeb9bc14a0a51299e

Conflicts:
	runtime/Android.mk