RFR: 8357382: runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java#aot fails with Xcomp and C1

Calvin Cheung ccheung at openjdk.org
Tue Jun 10 22:33:38 UTC 2025


One possible cause of the failure is that one of the `SimpleCusty` test classes was garbaged collected. To make the test run more reliably, the fix is to store the class loaders in a static `ArrayList`.

Testing: ran the test 20 times on Oracle supported platforms with the VM options listed in the bug report description.

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

Commit messages:
 - 8357382: runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java#aot fails with Xcomp and C1

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

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


More information about the hotspot-runtime-dev mailing list