commit | d2bdb9b857cccd15735572ffca846d875f8eb3f9 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Jul 08 17:23:22 2016 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Tue Sep 06 13:45:51 2016 +0100 |
tree | a20988fa5bc15fdd4b6324cd84f0ba0831da39a7 | |
parent | b0f443217306b8a307f73d35cb27c1cac2e1c360 [diff] |
Try to avoid allocation when interning strings. This speeds up const-string operations when there are hash conflicts in the DexCache string array and prevents throwing OOME when the String has been previously allocated. Test: Run ART test suite on host and Nexus 6. Change-Id: Iaea46869d1f84bfc53c07659151203fc747e9643