Skip to content

Conversation

@graalvmbot
Copy link
Collaborator

This PR allows late registration of FieldValueTransformer without a ComputedValueField. This removes the need to mark a type a reachable before creating its first field. In particular, two places can create field value transformers late (while the analysis is already running):

  • The actual API to register a FieldValueTransformer. This API is specified to allow registration in the reachability handler of that type.
  • The automatic registration based on class initializer analysis for unsafe field and array offset operations.

These two places are changed to use the new FieldValueInterceptionSupport. For now, we keep ComputedValueField but eventually we want to remove it completely.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants