Fix DDMS lock ordering error.

Renamed kJdwpSerialLock to guard both the jdwp socket and serial.
Moved the lock priority higher than the alloc space lock priority.
This is needed since walking the dlmalloc heap requires acquiring
the alloc space lock.

Change-Id: Idce47ea8c400643829edc5aaebb57f8b686b2853
2 files changed
tree: e86f0f8db05388cb9daa17df58969fa1d0c5f7fc
  1. .gitignore
  3. build/
  4. dalvikvm/
  5. jdwpspy/
  6. src/
  7. test/
  8. tools/