commit | 51f5abaff8af4859b08a3f37401e3f8d9aa68047 | [log] [tgz] |
---|---|---|
author | Mengjie Xie <mengjie.xie@mediatek.com> | Wed Oct 09 15:00:00 2019 +0800 |
committer | Wonsik Kim <wonsik@google.com> | Mon Oct 14 11:32:12 2019 -0700 |
tree | 65f7438226498812eb3a9347cd40f307d22169be | |
parent | 5871ab512193274898baca9a4efa734392019ebf [diff] |
mTraits is used without been locked mTraits could be read/written by more than one thread, And it will cause some timing issue if there is no synchronization Solution: use getId() instead of mTraits->id when use its id. Bug: 142629712 Test: This is seldom timing issue, and may be reproduced by monkey test (enable uasan) Change-Id: I96870027fd171fea15957b292c4898043262d9cf