diff options
author | Mathieu Chartier <mathieuc@google.com> | 2018-10-31 11:50:26 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2018-10-31 12:50:20 -0700 |
commit | 41c080891ca9d8834c9b50c3ac18dd01c20de9e9 (patch) | |
tree | abdf11b6e000884004c0c82f784a90595f63da05 /compiler/optimizing/graph_visualizer.cc | |
parent | 41271dd3dfc2ff75702ae3b709eb8afa9464a49f (diff) |
Hold intern table lock for AddImageStringsToTable
Fixes a correctness issue where another thread adding an intern string
after the visitor could cause duplicate strings.
Reduces how often the intern table lock is acquired, probably
improving performance.
Bug: 116059983
Test: test-art-host
Change-Id: I5ba6ca3ba7535de6d4ad5cb46750bd23a6e9aadc
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions