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, wait
canChangeStackKind, handleCheckCast, handleInstanceOf, handleLoadField, handleLoadIndexed, handleLoadStaticField, handleNewArray, handleNewInstance, handleNewMultiArray, handleStoreField, handleStoreIndexed, handleStoreStaticField, instrumentExceptionDispatch
public MethodHandlePlugin(jdk.vm.ci.meta.MethodHandleAccessProvider methodHandleAccess, boolean safeForDeoptimization)
public boolean handleInvoke(GraphBuilderContext b, jdk.vm.ci.meta.ResolvedJavaMethod method, ValueNode[] args)
NodePlugin
push
a value as the
result of the method invocation using the return kind
of the
method.handleInvoke
in interface NodePlugin
b
- the contextmethod
- the statically bound, invoked methodargs
- the arguments of the method invocation