Record allocation after SetClass to have memory fence for SetClass card mark.

Record allocation is now called after SetClass to ensure that our SetClass card mark is behind a fence.

Also:
Removed remaining LOCKS_EXCLUDED mentionning statistics lock.
Cleaned up some of the code in heap.cc

Change-Id: Id781c6a9780ad72e90330acea647432974b240c6
2 files changed
tree: 35de964b0e2d64b1c000c86b0670c8ebabaa5405
  1. .gitignore
  2. Android.mk
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/