Fix DDMS crash

Check the liveness of an object rather than heap containing to avoid
segv. Move the lock outside the of the visitor to ensure lock level
rules are followed.

Change-Id: I237c7a31a18b783853d1b1956a5c1d1961b2a142
1 file changed
tree: 6a204b7913b437a8d5a08886e5b7cd34e2864ac7
  1. .gitignore
  2. Android.mk
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/