stderr: [java version "24-ea" 2025-03-18
Java(TM) SE Runtime Environment (fastdebug build 24-ea+5-446)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 24-ea+5-446, compiled mode, sharing)
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" ]
exitValue = 1
java.lang.RuntimeException: '((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))' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:371)
at TestParallelGCWithCDS.test(TestParallelGCWithCDS.java:121)
at TestParallelGCWithCDS.main(TestParallelGCWithCDS.java:57)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
Java(TM) SE Runtime Environment (fastdebug build 24-ea+5-446)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 24-ea+5-446, compiled mode, sharing)
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" ]
exitValue = 1
java.lang.RuntimeException: '((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))' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:371)
at TestParallelGCWithCDS.test(TestParallelGCWithCDS.java:121)
at TestParallelGCWithCDS.main(TestParallelGCWithCDS.java:57)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
- relates to
-
JDK-8316131 runtime/cds/appcds/TestParallelGCWithCDS.java fails with JNI error
- Resolved
- links to
-
Commit(master) openjdk/jdk/a827ff05
-
Review(master) openjdk/jdk/20700