Start parallelizing dex2oat.

This is enough to perform type resolution and verification in parallel.

There appears to be a bug in InitCpu --- if you start enough threads
at once, the CHECK at the end starts to fail, with self_check == NULL; I've
commented it out for now, but this will cause test failures until it's fixed.

Change-Id: I4919682520bc01d3262c6b3d00c7bd2c2860a52e
12 files changed
tree: 55ba94dde3916dfb88681e4967e4a45926436716
  1. build/
  2. jdwpspy/
  3. src/
  4. test/
  5. tools/
  6. Android.mk