OSDN Git Service

Fix remaining small issues with the lock sampling.
authorCarl Shapiro <cshapiro@google.com>
Sat, 17 Apr 2010 00:33:15 +0000 (17:33 -0700)
committerCarl Shapiro <cshapiro@google.com>
Tue, 20 Apr 2010 03:41:06 +0000 (20:41 -0700)
commitb8fcf57f13b4d37950cfbd72a6af401941d7bdd8
treeeccc44373d894bedc929983b08ce5c3f52dec72c
parentaf69cf8d062a42300852ddee6bcb9f189f5a1b83
Fix remaining small issues with the lock sampling.

* Eliminate the now unused lockprofsample flag.  The sample percentage
  has been a function of the wait time an threshold since the previous
  change.

* Eliminate some trailing whitespace that creeped into the previous
  change.

* Eliminate the trailing newline from the event buffer.  Because the
  buffer pointer was not incremented this character was not seen in
  the event log anyway.

* Document the lockProfThreshold global.

Change-Id: Ia1c1fcf862d76f5631601e05e7941e5171fab097
vm/Globals.h
vm/Init.c
vm/Sync.c