commit | 208aaf0b4815b9675d5b0c6e88b1aafad49be18d | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Tue Oct 25 10:45:08 2016 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Oct 25 11:30:42 2016 -0700 |
tree | 33f26788ebb0a4fd62bb28c2df7e2f6841043f9c | |
parent | e2923d98070a162c8a87c44e7b19aef2f20239f2 [diff] |
Fix race with LOS Begin() and End() There was a race for the first large object allocation that cause callers of Begin() and End() to see a null End() and non-null Begin(). The fix is to hold the lock and get both Begin() and End(). Bug: 32387879 Test: test-art-host CC Change-Id: I6173bf3a55d3ba017ffa5b5e9f566025c65b7555