diff options
author | Chang Xing <chxing@google.com> | 2017-05-25 18:34:12 -0700 |
---|---|---|
committer | Chang Xing <chxing@google.com> | 2017-05-31 11:59:34 -0700 |
commit | 762ef842d78b6f8a76f2b119504f075728540077 (patch) | |
tree | bb87b31ca2aaeb839838f0bae894366aaf3459a2 /compiler/optimizing/codegen_test_utils.h | |
parent | a559fa1b0d6c276dde2cdc707de1acd4950f7190 (diff) |
Fixed Literal String intern mismatch.
Literal Strings in app images are interned into local intern tables
which causes mismatch with the runtime intern table, especially when
a string is loaded from app images twice. Now when .art is loaded, a
visitor go through all classes and their fields to intern every string
literal found again.
Test case 596 is updated to test the string intern functioanlity.
Test on devices Nexus 5X, fixing strings takes 5.4 ms on GoogleMap
during startup.
Bug: 62224799
Test: test-art-host -j64
Change-Id: I2e1d44a79db1ae5f9aec80f228128201d1d838d8
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions