Fix DDMS allocation tracker.

The allocation tracker previously did a NewByteArray while holding the
gAllocTrackerLock. This was problematic due to the fact that this new
allocation would also try to acquire said lock. Fixed the issue by
moving the newByteArray call outside of the lock.

Bug: 9767557

Change-Id: I7e94e631d9c96aa642637de52f100b371f813294
1 file changed
tree: 45415fdee46c30737742663d0389d6ce21fa77ac
  1. .gitignore
  2. Android.mk
  3. build/
  4. dalvikvm/
  5. jdwpspy/
  6. src/
  7. test/
  8. tools/