commit | a395c0a492079d86b312c9edc796d63001576954 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Tue May 12 10:47:11 2015 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue May 12 13:41:43 2015 -0700 |
tree | 5172c3a64e30577561db38ff3de883a4e639dfbb | |
parent | 3d8ac11e412aeb186e2e14270d09585bc34e229e [diff] |
Hold heap bitmap lock in Heap::GetObjectsAllocated Fixes a race condition where add and remove space could cause a crash when we iterated over the spaces. TODO: Add a spaces lock or something to guard against this. Bug: 21031927 Change-Id: I7f0d558316f8e9d9f22ffd182e8666355bf50d47