8316131: runtime/cds/appcds/TestParallelGCWithCDS.java fails with JNI error
Reviewed-by: dholmes, iklam
This commit is contained in:
parent
4a1cdd5ba9
commit
31f70391e5
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -115,9 +115,11 @@ public class TestParallelGCWithCDS {
|
||||
out.shouldContain(HELLO);
|
||||
} else {
|
||||
String pattern = "((Too small maximum heap)" +
|
||||
"|(GC triggered before VM initialization completed)" +
|
||||
"|(java.lang.OutOfMemoryError: Java heap space))";
|
||||
"|(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))";
|
||||
out.shouldMatch(pattern);
|
||||
out.shouldNotHaveFatalError();
|
||||
}
|
||||
n++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user