Make it easier to run an optimized build, turn the GC timings back on, and remove some unnecessary code.

The Class* field is a regular instance field now, so no need to scan it twice.
We do our null checking in ScanObject, so we don't need to duplicate the checks
in each child.

Also count the number of class, array, and other objects we scan.

Change-Id: I9034708d5e0e1edffaccf3cad4785c5fccf3b38e
5 files changed
tree: 401e74441c510807691c83020eecfd2d4ba5c725
  1. Android.mk
  2. build/
  3. oat_process/
  4. oat_runtime/
  5. src/
  6. test/
  7. tools/