Skip to content
New issue

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

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

Already on GitHub? # to your account

[GR-60508] Include more information in the hash of method handle invoker substitution names #10324

Closed
wants to merge 1 commit into from

Conversation

graalvmbot
Copy link
Collaborator

TypeSwitch lambda forms contain a reference to a NamedFunction with a non null intrinsicData representing the number of case of the switch.
This needs to be included in the hash computation to avoid conflicts.
This also implies that the resolvedHandle needs to be included in the hash even for non null members.

Additionally, since MethodHandleInvokerRenamingSubstitutionProcessor is tied to the implementation of MethodHandle and LambdaForm, this PR adds @BasedOnJDKClass annotations to monitor the changes in the JDK.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 17, 2024
@graalvmbot graalvmbot closed this Dec 17, 2024
@graalvmbot graalvmbot deleted the scoppey/GR-60508/type-switch-lambda-form branch December 17, 2024 15:52
# for free to join this conversation on GitHub. Already have an account? # 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