graal
graal copied to clipboard
[GR-68488] Extend JVMCI to express fixed binding
Follow-up work of https://github.com/graalvm/labs-openjdk/pull/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.