commit | 41c080891ca9d8834c9b50c3ac18dd01c20de9e9 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Oct 31 11:50:26 2018 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Oct 31 12:50:20 2018 -0700 |
tree | abdf11b6e000884004c0c82f784a90595f63da05 | |
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