summaryrefslogtreecommitdiff
path: root/test/MultiDexModifiedSecondary/README.txt
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2016-03-16 11:25:29 -0700
committerMathieu Chartier <mathieuc@google.com>2016-03-16 13:20:17 -0700
commit77d993107773b7b9bd7f07ce08d0aaac1631bf84 (patch)
tree16ad9879ce53534f0bcceba37ae2228ff50a474c /test/MultiDexModifiedSecondary/README.txt
parentf525272b1edec721058e7d888545dd5d97b5045d (diff)
Fix race in AllocEntrypointsInstrumented
We were using the quick_alloc_entry_points_instrumentation_counter_, this counter is updated before the threads are suspended. The allocator could come out of a suspend point, see that threads are supposedly still no instrumented, continue the allocation, then suddenly quick_alloc_entry_points_instrumentation_counter_ becomes 1 and alloc_tracking_enabled_ becomes true resulting in a failing DCHECK. The fix is to add a boolean that is updated only when the threads are suspended. Bug: 27506909 Change-Id: Ic3c6716d2af9c00189ce9271f7a2825b03cdd8a0
Diffstat (limited to 'test/MultiDexModifiedSecondary/README.txt')
0 files changed, 0 insertions, 0 deletions