Skip to content

Conversation

graalvmbot
Copy link

@graalvmbot graalvmbot commented Sep 23, 2025

This is the JVMCI part of oracle/graal#12224:

  • Removed jdk.vm.ci.meta.AnnotationData.
  • Added jdk.vm.ci.meta.ResolvedJavaRecordComponent (JVMCI analog of java.lang.reflect.RecordComponent).
  • Moved jdk.vm.ci.meta.Annotated to jdk.vm.ci.meta.annotation.Annotated and converted it to expose class file annotation bytes instead of the result of parsing these bytes.

Other smaller changes:

  • Mitigated cost of HotSpotMetaAccessProvider.lookupField for classes with many fields. See here for motivation.
  • Show cause of JVMCI API version error (in JVMCI.getRuntime()).
  • Applied some IntelliJ suggested clean ups and improvements.

* record components of this record class, or {@code null} if this class is
* not a record class.
*/
ResolvedJavaRecordComponent[] getRecordComponents();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should decide whether we want to go for arrays or unmodifiable lists.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. Since this is new API and we don't need to worry about backward compatibility, we should go for an unmodifiable list.

@graalvmbot graalvmbot merged commit a55dff5 into jdk25 Oct 2, 2025
54 checks passed
@graalvmbot graalvmbot deleted the ds/GR-69454 branch October 2, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants