Make lock debug checks optional.

Move all locking checks behing kDebugLocking. Disable locking checks
when not DEBUG. Will enable later so that we can get some idea of the
performance overhead. We want locking checks to be the default for a
while to make sure we solve any remaining potential deadlock issues.

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