8193065: [TESTBUG] [TESTBUG]GCSharedStringsDuringDump.java: Exception in thread "main" java.lang.RuntimeException: String is not shared
Check if 'oa' region is missing. Reviewed-by: hseigel, ccheung
This commit is contained in:
parent
29aabe9c05
commit
1cfa67d1d5
@ -101,6 +101,7 @@ public class GCSharedStringsDuringDump {
|
|||||||
if (output.getStdout().contains("Too many string space regions") ||
|
if (output.getStdout().contains("Too many string space regions") ||
|
||||||
output.getStderr().contains("Unable to write archive heap memory regions") ||
|
output.getStderr().contains("Unable to write archive heap memory regions") ||
|
||||||
output.getStdout().contains("Try increasing NewSize") ||
|
output.getStdout().contains("Try increasing NewSize") ||
|
||||||
|
!output.getStdout().contains("oa0 space:") ||
|
||||||
output.getExitValue() != 0) {
|
output.getExitValue() != 0) {
|
||||||
// Try again with larger heap and NewSize, this should increase the
|
// Try again with larger heap and NewSize, this should increase the
|
||||||
// G1 heap region size to 2M
|
// G1 heap region size to 2M
|
||||||
|
Loading…
Reference in New Issue
Block a user