RFR: 8284319: Test runtime/cds/appcds/TestParallelGCWithCDS.java fails in repo-loom

Calvin Cheung ccheung at openjdk.java.net
Mon Apr 25 18:43:37 UTC 2022


When the TestParallelGCWithCDS.java test is run with the `-Xcomp` and `-XX:MaxRAMPercentage` VM options with loom jdk, an `OutOfMemoryError` could occur early during `initPhase2`.

This change is for adjusting the test to account for the `OutOfMemoryError`.

Ran the test multiple times with the `-Xcomp`, etc. VM options.

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

Commit messages:
 - 8284319: Test runtime/cds/appcds/TestParallelGCWithCDS.java fails in repo-loom

Changes: https://git.openjdk.java.net/jdk/pull/8385/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8385&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8284319
  Stats: 6 lines in 1 file changed: 0 ins; 2 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8385.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8385/head:pull/8385

PR: https://git.openjdk.java.net/jdk/pull/8385


More information about the hotspot-runtime-dev mailing list