commit | 104fa0c0c7dad925d9f4d5c101a8064cd6830da7 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Aug 07 14:26:27 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu Aug 07 15:18:47 2014 -0700 |
tree | 7b9812d782c0525623b4523e7612893f84e376c5 | |
parent | f4009e2249172ae8fe0e772ac8c0107400a28d6d [diff] |
Guard pause histogram with lock. There is a race condition since the GC was updating this without holding any locks. But the signal catcher could be dumping the timings with DumpGcPerformanceInfo at the same time. This could potentially cause out of bound errors, etc.. Also did a bit of cleanup. Bug: 15446488 Change-Id: Icaff19d872cc7f7d31c34e4ddaae97502454e09c