RFR: 8360090: [TEST] RISC-V: disable some cds tests on qemu
Hamlin Li
mli at openjdk.org
Tue Jul 1 19:31:38 UTC 2025
On Fri, 20 Jun 2025 09:27:14 GMT, Hamlin Li <mli at openjdk.org> wrote:
> Hi,
> Can you help to review this patch?
>
> CDS does not work well in cross compilation env, this is by desgin, please check `JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE` in make of jdk.
>
> These tests depends on classes.jsa or classes_xxx.jsa which is not generated and will not be generated when build jdk in qemu environment for riscv, so we should disable them when qemu.
>
> Thanks!
I modify it by introducing a "vm.cds.default.archive.available" in hotspot jtreg test, it checks whether the default archive file i.e. $JAVA_HOME/lib/server/classes.jsa exists. And these tests are skipped if default archive file does not exist in test jdk.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25913#issuecomment-3025256154
More information about the hotspot-runtime-dev
mailing list