commit | f0acfe7a812a332122011832074142718c278dae | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Mon Jan 09 20:54:52 2017 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Tue Jan 10 21:26:23 2017 +0000 |
tree | 49c4fc481cebd03323aaf0109066859165508303 | |
parent | 91db41f315f6c2366b7098c531224bee01170364 [diff] |
Keep resolved String in HLoadString. For the following reasons: - Avoids needing to do a lookup again in CodeGenerator::EmitJitRoots. - Fixes races where we the string was GC'ed before CodeGenerator::EmitJitRoots. - Makes it possible to do GVN on the same string but defined in different dex files. Test: test-art-host, test-art-target Change-Id: If2b5d3079f7555427b1b96ab04546b3373fcf921