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. build/
  2. dalvikvm/
  3. jdwpspy/
  4. src/
  5. test/
  6. tools/
  7. .gitignore
  8. Android.mk