Adds 2 new option args to oatdump:

--dump:raw_mapping_table
--dump:raw_gc_map
Change-Id: Ic4af5ae5714329da616240abbe64b137ed67d221

Conflicts:
	oatdump/oatdump.cc
Fix the memory protection issue in RosAllocSpace::CreateFromMemMap()

From the implementation of RosAllocSpace::CreateFromMemMap(), the memory
beyond the starting_size should be protected.
But the argument of mprotect is wrongly set to be "capacity -
initial_size", logically it should be "capacity - starting_size"
This patch also fix the same issue in dlmalloc

Change-Id: Icbd4ba790f344d4fa79d9896657f638a03d6f8aa
Author: Lin Zang <lin.zang@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>

Conflicts:
	runtime/gc/space/rosalloc_space.cc
Add conditional branches, and build dominator tree.

Change-Id: I4b151a07b72692961235a1419b54b6b45cf54e63

Conflicts:
	build/Android.gtest.mk
	compiler/dex/growable_array.h
	compiler/optimizing/builder.cc
	compiler/optimizing/builder.h
	compiler/optimizing/nodes.cc
	compiler/optimizing/nodes.h
	compiler/optimizing/pretty_printer.h
	compiler/optimizing/pretty_printer_test.cc
Fix dalvikvm -help

Bug: https://code.google.com/p/android/issues/detail?id=62149
Change-Id: I8ab11cc7c171dc4b7eee1d33aa1624aae832a393
Clean up MappingTable::FirstDexToPcPtr().

Use DecodeSignedLeb128() to skip over dex PCs. This is just
to be consistent, the number of bytes skipped is the same
as with DecodeUnsignedLeb128() and the result is ignored.

Change-Id: Ib5198b0367030957a6e2c650200121c2d828c0a6
Further split of the space tests

Split the random-size allocations from the static-size allocation tests
Have all tests have distinguished names

Bug: 13117676
Change-Id: I40130b04d11715b9bd1d1ea8d76720f83af6ba82

Conflicts:
	build/Android.gtest.mk
	runtime/gc/space/dlmalloc_space_base_test.cc
	runtime/gc/space/rosalloc_space_base_test.cc
	runtime/gc/space/space_test.h
Include what is used

If you use it, you should put an #include in it.

Change-Id: I8919fe2e48adb7cc19173cc44838547a2015288f
Conflicts:
	runtime/compiler_callbacks.h
Fix oatdump for interpret-only boot classpath

Change-Id: I12cf5046b01dfba110bf0604fe01a8abf8b352dc
Fix portable build.

Change-Id: I84f223c6629eaf567ef33cd616dbaf04af7ed0b3

Conflicts:
	compiler/Android.mk
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
Fix tests for 64b

These tests make assumptions about pointer sizes.

Change-Id: Idfd410144393d716ae176a6e9a51c5b414e0888e

Conflicts:
	runtime/base/hex_dump_test.cc
	runtime/exception_test.cc