Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-49410] Do not mark AnalysisType reachable when creating AnalysisField. #8011

Merged
merged 3 commits into from Dec 17, 2023

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.

None yet

2 participants