diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2016-03-11 09:57:57 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2016-03-11 09:57:57 +0000 |
commit | 07e3ca9a46801990d662c48d0fddedc63c4c053c (patch) | |
tree | 94fedc96b28c6a46d2b83c80b2cfefd4c2898f4a /compiler/optimizing/graph_visualizer.cc | |
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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions