Skip to content

Conversation

graalvmbot
Copy link
Collaborator

Follow-up work of graalvm/labs-openjdk#7.
This change allows us to insert an Invoke in the Graal IR and therefore invoke a method although the bci does not point to an invoke bytecode.
The Hotspot JVM will take care of calling the bound method instead of looking at the bytecode and the constant pool.
We can use this new feature to directly call resolved method handles and for the Truffle safepoint.
Currently the Truffle safepoint calls a Java method by calling into the runtime via a stub.
We can also use this feature for Valhalla.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 24, 2025
@graalvmbot graalvmbot force-pushed the mh/GR-68488/Method-Binding branch from 3efa6e9 to b7dbce8 Compare September 25, 2025 13:05
@graalvmbot graalvmbot force-pushed the mh/GR-68488/Method-Binding branch from 79882ca to 94ce8fd Compare September 25, 2025 13:24
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.

1 participant