Skip to content

[GR-65764] Add FFM method detection to the dynamic access analysis #11626

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

Merged
merged 1 commit into from
Jul 16, 2025

Conversation

graalvmbot
Copy link
Collaborator

In this PR we add the tracking of FFM methods that might require metadata at run time to the DynamicAccessDetectionPhase.

As the methods we track here come from java.lang.foreign.Linker, which is an interface, we have to additionally never inline java.lang.foreign.Linker#nativeLinker, as inlining this method would replace the abstract Linker with a platform-specific linker (e.g., Windowsx64Linker), breaking the detection of Linker methods.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 15, 2025
@graalvmbot graalvmbot merged commit 0cb893c into master Jul 16, 2025
12 of 13 checks passed
@graalvmbot graalvmbot deleted the jvukicev/GR-65764 branch July 16, 2025 07:02
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