Skip to content

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