8335577: runtime/cds/appcds/TestParallelGCWithCDS.java still fails with JNI error

Reviewed-by: dholmes, iklam
This commit is contained in:
Calvin Cheung 2024-08-26 21:26:12 +00:00
parent 5ecbecfbca
commit a827ff05db

View File

@ -116,8 +116,9 @@ public class TestParallelGCWithCDS {
} else {
String pattern = "((Too small maximum heap)" +
"|(GC triggered before VM initialization completed)" +
"|(java.lang.OutOfMemoryError: Java heap space)" +
"|(Initial heap size set to a larger value than the maximum heap size))";
"|(Initial heap size set to a larger value than the maximum heap size)" +
"|(java.lang.OutOfMemoryError)" +
"|(Error: A JNI error has occurred, please check your installation and try again))";
out.shouldMatch(pattern);
out.shouldNotHaveFatalError();
}