JDK-8346159 : Disable CDS AOTClassLinking tests for JVMCI due to JDK-8345635
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-12-13
  • Updated: 2024-12-25
  • Resolved: 2024-12-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24 JDK 25
24Fixed 25 b03Fixed
Description
Because of JDK-8345635, some CDS tests for -XX:+AOTClassLinking are failing when JVMCI compiler is enabled. E.g.,

time make test \
     TEST_OPTS_VM_OPTIONS="-XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler" \
     TEST=open/test/hotspot/jtreg/runtime/cds

runtime/cds/appcds/LambdaWithUseImplMethodHandle.java
runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java
runtime/cds/appcds/cacheObject/ArchiveHeapTestClass.java
runtime/cds/appcds/resolvedConstants/AOTLinkedLambdas.java
runtime/cds/appcds/resolvedConstants/AOTLinkedVarHandles.java

Before JDK-8345635 is fixed, these tests should be excluded with:

 * @requires !vm.jvmci.enabled

Comments
A pull request was submitted for review. Branch: jdk24 URL: https://git.openjdk.org/jdk/pull/22749 Date: 2024-12-14 00:32:44 +0000
14-12-2024

Changeset: c2f0ef5f Branch: master Author: Ioi Lam <iklam@openjdk.org> Date: 2024-12-14 00:16:08 +0000 URL: https://git.openjdk.org/jdk/commit/c2f0ef5f4822e7e558fe2b4077d57634d380aa11
14-12-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22730 Date: 2024-12-13 04:40:16 +0000
13-12-2024