Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8335577

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • b13

       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)

            ccheung Calvin Cheung
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: