test/hotspot/jtreg/runtime/appcds/javaldr/GCSharedStringsDuringDump.java
changeset 48313 da23405d54db
parent 48138 78b2ecdd3c4b
child 48469 7312ae4465d6
equal deleted inserted replaced
48312:2a1413298af0 48313:da23405d54db
    99                                 "-XX:SharedArchiveConfigFile=" + sharedArchiveCfgFile);
    99                                 "-XX:SharedArchiveConfigFile=" + sharedArchiveCfgFile);
   100 
   100 
   101             if (output.getStdout().contains("Too many string space regions") ||
   101             if (output.getStdout().contains("Too many string space regions") ||
   102                 output.getStderr().contains("Unable to write archive heap memory regions") ||
   102                 output.getStderr().contains("Unable to write archive heap memory regions") ||
   103                 output.getStdout().contains("Try increasing NewSize") ||
   103                 output.getStdout().contains("Try increasing NewSize") ||
       
   104                 !output.getStdout().contains("oa0 space:") ||
   104                 output.getExitValue() != 0) {
   105                 output.getExitValue() != 0) {
   105                 // Try again with larger heap and NewSize, this should increase the
   106                 // Try again with larger heap and NewSize, this should increase the
   106                 // G1 heap region size to 2M
   107                 // G1 heap region size to 2M
   107                 TestCommon.testDump(
   108                 TestCommon.testDump(
   108                     appJar, TestCommon.list("GCSharedStringsDuringDumpWb"),
   109                     appJar, TestCommon.list("GCSharedStringsDuringDumpWb"),