RFR: 8345347: Test runtime/cds/TestDefaultArchiveLoading.java should accept VM flags or be marked as flagless

Matias Saavedra Silva matsaave at openjdk.org
Mon Jun 2 15:11:29 UTC 2025


Currently this test uses `ProcessTools.createLimitedTestJavaProcessBuilder()` to ignore vm flags, so this patch changes the method to `ProcessTools.createTestJavaProcessBuilder()` to allow for more extensive training. Because ZGC is incompatible with heap dumping, is is disabled on this test. Verified locally and through tiered testing.

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

Commit messages:
 - Disabled ZGC on all subtests
 - 8345347: Test runtime/cds/TestDefaultArchiveLoading.java should accept VM flags or be marked as flagless

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

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


More information about the hotspot-runtime-dev mailing list