commit | 8544b462b524a502d2a18efb5a790ef98fa5eb51 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Feb 12 17:47:42 2014 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Feb 12 17:51:51 2014 -0800 |
tree | 3a53268a568a8bd6cb7bfd65906e74c920a3aa4f | |
parent | 1f26fb175bf3a10b5e1eb495d22778b47400f323 [diff] |
Fix race condition in BumpPointerSpace::Walk. There was a race where we would incorrectly tread part of the main block as other blocks. This was caused by a thread allocating into the bump pointer space when another thread was walking it. The new solution is to ignore objects allocated since we started the walk. Bug: 12966354 Change-Id: I49abd4de97609e9c9a3fae40b9c159abfdbbd07c