Avoid recursion if logging lock is corrupt.

If the logging lock is corrupt then using LOG fails and recursive death ensues.
Make Mutex a friend of LogMessage so that it can do raw logging in this special
situation.
Opportunistically also make fields of LogMessage and LogMessageData that can be
const, const.

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