--- old/test/hotspot/jtreg/runtime/appcds/javaldr/GCSharedStringsDuringDump.java 2017-12-05 18:05:27.727892068 -0500 +++ new/test/hotspot/jtreg/runtime/appcds/javaldr/GCSharedStringsDuringDump.java 2017-12-05 18:05:26.247807967 -0500 @@ -101,6 +101,7 @@ if (output.getStdout().contains("Too many string space regions") || output.getStderr().contains("Unable to write archive heap memory regions") || output.getStdout().contains("Try increasing NewSize") || + !output.getStdout().contains("oa0 space:") || output.getExitValue() != 0) { // Try again with larger heap and NewSize, this should increase the // G1 heap region size to 2M