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. build/
  2. oat_process/
  3. oat_runtime/
  4. src/
  5. test/
  6. tools/
  7. Android.mk