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