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
Test: test-art-host -j64
3 files changed