commit | 07e3ca9a46801990d662c48d0fddedc63c4c053c | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Mar 11 09:57:57 2016 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Fri Mar 11 09:57:57 2016 +0000 |
tree | 94fedc96b28c6a46d2b83c80b2cfefd4c2898f4a | |
parent | b7f257f353b1eb2db2732939a0404c118316891d [diff] |
Fix thread race when fetching the ProfilingInfo object. Problem is: 1) Compiler fetches the ProfilingInfo of A, it's null. 2) Mutator creates the ProfilingInfo. 3) Compiler notifies it's not using A anymore, calls ProfilingInfo::DecrementInlineUse -> Crash as we expected ProfilingInfo::IncrementUse to be called before. Also update some namings to better reflect what is going on. Change-Id: I55ea4c5d81988131467095e18a0d13a8be9d0ef7