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-50176] Implemention of the typeReached conditional for reflection. #8969

Closed

Conversation

graalvmbot
Copy link
Collaborator

typeReached can only be used with type without a possibility to exclude bulk queries from the element. This is done to simplify the understanding by the user and the implementation. If we would not do this the implementation would need ~10 different RuntimeConditionSets for each type which is not reasonable.

Entry points for review:

  1. com.oracle.svm.core.configure.RuntimeConditionSet and com.oracle.svm.core.configure.RuntimeCondition represent the values used at runtime to determine if conditions are satisfied
  2. com.oracle.svm.hosted.code.RuntimeMetadataEncoderImpl#encodeConditions and com.oracle.svm.core.code.RuntimeMetadataDecoderImpl#decodeConditions to encode and decode conditions.
  3. com.oracle.svm.hosted.reflect.ReflectionDataBuilder for reflection registration code changes.
  4. com.oracle.svm.core.reflect.target.Target_java_lang_reflect_AccessibleObject#conditions holds the conditions at run time.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 24, 2024
@graalvmbot graalvmbot force-pushed the vj/GR-50176-restructure-reflection-data-builder branch 2 times, most recently from a89a95f to 7e85991 Compare May 24, 2024 16:02
@graalvmbot graalvmbot force-pushed the vj/GR-50176-restructure-reflection-data-builder branch from 7e85991 to 01c61f0 Compare May 24, 2024 20:04
@graalvmbot graalvmbot closed this May 25, 2024
@graalvmbot graalvmbot deleted the vj/GR-50176-restructure-reflection-data-builder branch May 25, 2024 11:19
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