Resolve const-string of clinit

Resolve the const strings of the clinit for classes that are loaded in the profile.

For Maps, the number of strings is ~4400. This would take ~100k RAM if each string
is around 20 characters. Note that these strings are mostly already loaded during
startup, so there might not be a net RAM usage increase.

Test: test-art-host
Bug: 117621117

Change-Id: I632a91633c1b3757523ef6e655f192305554499b
diff --git a/test/StringLiterals/StringLiterals.java b/test/StringLiterals/StringLiterals.java
index 8dee666..9ab37ca 100644
--- a/test/StringLiterals/StringLiterals.java
+++ b/test/StringLiterals/StringLiterals.java
@@ -15,6 +15,18 @@
  */
 
 class StringLiterals {
+    static class StartupClass {
+        static {
+            System.out.println("Startup init");
+        }
+    }
+
+    static class OtherClass {
+        static {
+            System.out.println("Other class init");
+        }
+    }
+
     void startUpMethod() {
         String resource = "abcd.apk";
         System.out.println("Starting up");