public class MethodHandlePlugin extends Object implements NodePlugin
| Constructor and Description |
|---|
MethodHandlePlugin(jdk.vm.ci.meta.MethodHandleAccessProvider methodHandleAccess,
boolean safeForDeoptimization) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleInvoke(GraphBuilderContext b,
jdk.vm.ci.meta.ResolvedJavaMethod method,
ValueNode[] args)
Handle the parsing of a method invocation bytecode to a method that can be bound statically.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanChangeStackKind, handleCheckCast, handleInstanceOf, handleLoadField, handleLoadIndexed, handleLoadStaticField, handleNewArray, handleNewInstance, handleNewMultiArray, handleStoreField, handleStoreIndexed, handleStoreStaticField, instrumentExceptionDispatchpublic MethodHandlePlugin(jdk.vm.ci.meta.MethodHandleAccessProvider methodHandleAccess,
boolean safeForDeoptimization)
public boolean handleInvoke(GraphBuilderContext b, jdk.vm.ci.meta.ResolvedJavaMethod method, ValueNode[] args)
NodePluginpush a value as the
result of the method invocation using the return kind of the
method.handleInvoke in interface NodePluginb - the contextmethod - the statically bound, invoked methodargs - the arguments of the method invocation