< prev index next >

test/hotspot/jtreg/runtime/appcds/javaldr/GCSharedStringsDuringDump.java

Print this page

        

*** 66,76 **** String sharedArchiveCfgFile = System.getProperty("user.dir") + File.separator + "GCSharedStringDuringDump_gen.txt"; try (FileOutputStream fos = new FileOutputStream(sharedArchiveCfgFile)) { PrintWriter out = new PrintWriter(new OutputStreamWriter(fos)); ! out.println("VERSION: 1.0"); out.println("@SECTION: String"); out.println("31: shared_test_string_unique_14325"); for (int i=0; i<100000; i++) { String s = "generated_string " + i; out.println(s.length() + ": " + s); --- 66,76 ---- String sharedArchiveCfgFile = System.getProperty("user.dir") + File.separator + "GCSharedStringDuringDump_gen.txt"; try (FileOutputStream fos = new FileOutputStream(sharedArchiveCfgFile)) { PrintWriter out = new PrintWriter(new OutputStreamWriter(fos)); ! out.println("VERSION: 1.1"); out.println("@SECTION: String"); out.println("31: shared_test_string_unique_14325"); for (int i=0; i<100000; i++) { String s = "generated_string " + i; out.println(s.length() + ": " + s);
< prev index next >