Remove unreachable catch entries in GenSpecialCase().

Fix debug build CHECK failure when we generate special
method implementation and drop unreachable catch handlers.

Bug: 13164331
Change-Id: I00e9841a2db8acaf1e81e1d9702e155c5b7e72e2
Fix portable build.

Change-Id: I84f223c6629eaf567ef33cd616dbaf04af7ed0b3
Decrease lock uses in RosAlloc::BulkFree().

Read rosalloc page map entries without a lock.

Disabled for now.

This change speeds up Ritz MemAllocTest by ~25% on host and reduces
the GC sweep time, but somehow slows it down by ~5% on N4, which is
why it's disabled for now. TODO: look into the slowdown on N4 more.

Bug: 8262791
Bug: 11790317
Change-Id: I936bbee9cfbd389e70d6343503bf0923865d2a2c
Merge "Remove unreachable catch entries in GenSpecialCase()."
Rewrite kMirOpSelect for all IF_ccZ opcodes.

Also improve special cases for ARM and add tests.

Change-Id: I06f575b9c7b547dbc431dbfadf2b927151fe16b9
Merge "Rewrite kMirOpSelect for all IF_ccZ opcodes."
Add codegen support to the optimizing compiler.

Change-Id: I9aae76908ff1d6e64fb71a6718fc1426b67a5c28
Remove oat file location in the image.

The oat file is now always in the same directory, and has the
same name as the image file. Only difference is the extension.

This also removes the need for host-prefix.

Change-Id: I16d1f7aeb1d58372d41921694664e9c321afc1ad
Merge "Remove oat file location in the image."
Merge "Decrease lock uses in RosAlloc::BulkFree()."
Disable new signal handler.

Doesn't play well with existing signal handlers.

Change-Id: Ic93691ad8af14f037bec571a2163bae146741d31
Merge "Disable new signal handler."
Avoid marking old class linker and intern table roots during pause.

The new root visiting logic has a concept of a root log which holds
new roots which were added since the start of the GC. This is an
optimization since it lets us only mark these newly added roots
during the pause (or pre-cleaning) since the other roots intern table
and class linker roots were marked concurrently at the start of the
GC.

Before (EvaluateAndApplyChanges):
MarkConcurrentRoots:	Sum: 605.193ms
After:
MarkConcurrentRoots:	Sum: 271.858ms

This should also reduce pathological GC pauses which used to be able
to happen when the intern table or class linker became "dirty"
during the concurrent GC.

Change-Id: I433fab021f2c339d50c35aaae7161a50a0901dec
Merge "Avoid marking old class linker and intern table roots during pause."
Oatdump fix.

Change-Id: Idd4fe294a628efb2a3bd39061a61bab3017784a2
Merge "Oatdump fix."
Support compiler filters for boot classpath

image_writer.cc
  Remove assumption that all methods in the boot classpath are compiled

oat_writer.cc
  Don't skip writing ArtMethod::quick_code_offset_ for methods that need resolution, leave that to ImageWriter

dex2oat.cc
  Allow dex2dex compilation of image dex files by making the in memory pages writable in all cases, not just app case.

oatdump.cc
  dump new OatHeader fields
  use ImageSpace.GetImageFilename, not command line image filename, since location may be in dalvik-cache
  remove inaccurate check about non-null GC map

quick_trampoline_entrypoints.cc
  add and improve some DCHECKS that were useful while debugging

class_linker.cc
image_space.cc
  fix double facepalm

parsed_options.cc
  fix zygote logging to not skip values to two part options like -classpath <foo>

runtime.cc
  wireup parsed compiler options to runtime

Change-Id: Iad314df0b80623c0663d61713d5098297ab9ac87
Merge "Support compiler filters for boot classpath"
Fix oatdump for interpret-only boot classpath

Change-Id: I12cf5046b01dfba110bf0604fe01a8abf8b352dc
Merge "Fix oatdump for interpret-only boot classpath"