Lock ranking fix for monitor IDs.

Free-ing objects holds a lock and so the monitor ID lock needs to be
of a lower rank.

Change-Id: I594ac04c1f76c5d6fd2e752886040565001d4eaf

Conflicts:
	runtime/locks.h
	runtime/monitor_pool.cc
Make heap reference poisoning work with the interpreter.

It is disabled by default.

Bug: 12687968
Change-Id: Iee0cad647f341a7b566f4cf74c2770d1c19312c9

Conflicts:
	runtime/mirror/object_reference.h
	runtime/parsed_options.cc
Fix clang errors in ArenaAllocator.

Change-Id: Ib0fa290fd46ff9288f86cda9be2d1c1faf99b964

Conflicts:
	compiler/utils/arena_allocator.cc
	compiler/utils/arena_allocator.h
Add convenience targets for switching between full, smart, interpret-only

Change-Id: Ic0e016404d79fd0e40519f33210b332414adc8bf

Conflicts:
	Android.mk
Fix lint errors.

Change-Id: Ibefa43522ec68ed2a13bd034005d6f424e92957c

Conflicts:
	compiler/optimizing/dominator_test.cc
Fix BitVector::SetInitialBits().

Change-Id: Iad3699d76ad69536aa4810329f5863bc995f6551

Conflicts:
	runtime/base/bit_vector_test.cc
Remove spurious duplicate line of code

This CL removes a duplicate line of code which appears to have
been intended for removal during a cleanup, but wasn't.  It would
not have affected correctness, rather it uselessly performed the
same store twice.

Bug originally reported by M Mendell.

Change-Id: If4333a29f32b6bdb944b67aa560d856611041ff6
Test Method.getModifiers() result for proxy methods

Change-Id: I2ba3be80ea21c5cfc0e2b9463270e34622c8c92b
Fix oatdump for apps.

This fixes the assertion failure for the interpreter to interpreter bridge offset
when dumping an app.

Bug: 13433669
Change-Id: Ic405ef7e43b849573a27db2ffa570e87b80c6af7
Improve use of CHECK macros.

Motivated by a bogus compiler warning for debug with O2, switch from
CHECK(x < y) to the recommended CHECK_LT(x, y). Fix bug in
RosAlloc::Initialize where an assignment was being performed within
a DCHECK.

Change-Id: Iaf466849ae79ae1497162e81a3e092bf13109aa9

Conflicts:
	runtime/gc/allocator/rosalloc.cc