Inlining synthetic accessors.

Bug: 11549140
Change-Id: Ie0034a6840b1beaa3df92f26bf9d315119c81e34

Conflicts:
	compiler/dex/quick/dex_file_method_inliner.cc
	runtime/quick/inline_method_analyser.cc
	runtime/quick/inline_method_analyser.h
JDWP request is parsed incorrectly due to junk in the descriptor

The ClassHelper object is created and deleted on the same line.
Therefore it is wrong to refer to any class members of the object in
the next line. Any references to the object and the object itself
must have the same live ranges.

Change-Id: I792d7baa3828b0389254f2941705e006cab092cd
Signed-off-by: nikolay serdjuk <nikolay.y.serdjuk@intel.com>

Conflicts:
	runtime/debugger.cc
Fix QuasiAtomic for 32-bit

QuasiAtomic does not guarantee atomic operations on 64 bit values in case
of 32-bit system.

Change-Id: Ib1f6cd9b2cf942caee33d5ea8af700fe4119637c
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>

Conflicts:
	runtime/atomic.h
Inlining synthetic accessors.

Bug: 11549140
Change-Id: I0d6a38c51887f55563414c240ac42ee64bdb5426

Conflicts:
	runtime/quick/inline_method_analyser.cc
Implement rosalloc page trimming without suspending threads.

Also, making it more efficient by not going through the chunks smaller
than the page size by not using InspectAll().

Change-Id: I79ceb0374cb8aba5f6b8dde1afbace9af98b6cff
Change test expected order of getDeclaredFields

By the patchset https://android-review.googlesource.com/#/c/90330/
ART is changed to report declared fields in the order consistent
with Dalvik.

This patch fixes the test's expected file accordingly.

Change-Id: I2356d540ecb21cfa391e3ea07c1449ec02970eb6
Depends-on: 90330
Signed-off-by: Yevgeny Rouban <yevgeny.y.rouban@intel.com>

Conflicts:
	test/100-reflect2/expected.txt
art/test: support sequential run

Introduce --seq option for art/test/run-all-tests.
This option runs tests one-by-one, avoiding failures
caused by busy CPU

Change-Id: Ibe29f749d267fb05dff4617787c7afcbdbeb43c0
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>

Conflicts:
	test/run-test
Return bytes freed from RosAlloc.

There was a problem with how RosAlloc space sweeping worked caused by
using the object size in the FreeList call, this won't work well with
class unloading since the object's class may be freed before the
object.

Bug: 13989231
Change-Id: I3df439c312310720fd34249334dec85030166fe9

Conflicts:
	runtime/gc/allocator/rosalloc.cc
	runtime/gc/space/rosalloc_space.cc
Deduplicate code starting JDWP thread

Also waits for thread_start_cond_ in a loop and removes needless mutex lock in
JdwpState::Run when checking thread state.

Change-Id: I6fca2151b5343b2906e9fa3b439029e6ad5b086d