RFR: 8316131: runtime/cds/appcds/TestParallelGCWithCDS.java fails with JNI error [v2]

Calvin Cheung ccheung at openjdk.org
Mon Jun 3 19:34:42 UTC 2024


> The `runtime/cds/appcds/TestParallelGCWithCDS.java` test currently expects specific output. When running with a small heap, JVM could fail at different places with different output.
> Updating the test if the expected output isn't there, checks for non-zero exit value and that the JVM hasn't crashed.
> 
> Tested with the following jtreg options on linux-x64:
> 
> -javaoptions:"-Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:-UseCompressedOops -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler -Xmx8m -Xms2m"
> -timeout:25

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  fix typo

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/19506/files
  - new: https://git.openjdk.org/jdk/pull/19506/files/8fe539f7..b5f07be5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19506&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19506&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/19506.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19506/head:pull/19506

PR: https://git.openjdk.org/jdk/pull/19506


More information about the hotspot-runtime-dev mailing list