public class JNIJavaCallWrapperMethodSupport extends Object
Constructor and Description |
---|
JNIJavaCallWrapperMethodSupport() |
Modifier and Type | Method and Description |
---|---|
org.graalvm.compiler.nodes.ValueNode |
createMethodCall(JNIGraphKit kit,
jdk.vm.ci.meta.ResolvedJavaMethod invokeMethod,
org.graalvm.compiler.nodes.CallTargetNode.InvokeKind invokeKind,
org.graalvm.compiler.java.FrameStateBuilder state,
org.graalvm.compiler.nodes.ValueNode... args)
Builds a JNI
Call<Type>Method call, returning a node that contains the return value
or null/zero/false when an exception occurred (in which case the exception becomes a JNI
pending exception). |
protected org.graalvm.compiler.nodes.java.AbstractNewObjectNode |
createNewInstance(JNIGraphKit kit,
jdk.vm.ci.meta.ResolvedJavaType type,
boolean fillContents) |
org.graalvm.compiler.nodes.ValueNode |
createNewObjectCall(JNIGraphKit kit,
jdk.vm.ci.meta.ResolvedJavaMethod invokeMethod,
org.graalvm.compiler.java.FrameStateBuilder state,
org.graalvm.compiler.nodes.ValueNode... args)
Builds the object allocation for a JNI
NewObject call, returning a node that contains
the created object or for null when an exception occurred (in which case the
exception becomes a JNI pending exception). |
protected org.graalvm.compiler.nodes.InvokeWithExceptionNode |
startInvokeWithRetainedException(JNIGraphKit kit,
jdk.vm.ci.meta.ResolvedJavaMethod invokeMethod,
org.graalvm.compiler.nodes.CallTargetNode.InvokeKind kind,
org.graalvm.compiler.java.FrameStateBuilder state,
int bci,
org.graalvm.compiler.nodes.ValueNode... args) |
public org.graalvm.compiler.nodes.ValueNode createNewObjectCall(JNIGraphKit kit, jdk.vm.ci.meta.ResolvedJavaMethod invokeMethod, org.graalvm.compiler.java.FrameStateBuilder state, org.graalvm.compiler.nodes.ValueNode... args)
NewObject
call, returning a node that contains
the created object or for null
when an exception occurred (in which case the
exception becomes a JNI pending exception).protected org.graalvm.compiler.nodes.java.AbstractNewObjectNode createNewInstance(JNIGraphKit kit, jdk.vm.ci.meta.ResolvedJavaType type, boolean fillContents)
public org.graalvm.compiler.nodes.ValueNode createMethodCall(JNIGraphKit kit, jdk.vm.ci.meta.ResolvedJavaMethod invokeMethod, org.graalvm.compiler.nodes.CallTargetNode.InvokeKind invokeKind, org.graalvm.compiler.java.FrameStateBuilder state, org.graalvm.compiler.nodes.ValueNode... args)
Call<Type>Method
call, returning a node that contains the return value
or null/zero/false when an exception occurred (in which case the exception becomes a JNI
pending exception).protected org.graalvm.compiler.nodes.InvokeWithExceptionNode startInvokeWithRetainedException(JNIGraphKit kit, jdk.vm.ci.meta.ResolvedJavaMethod invokeMethod, org.graalvm.compiler.nodes.CallTargetNode.InvokeKind kind, org.graalvm.compiler.java.FrameStateBuilder state, int bci, org.graalvm.compiler.nodes.ValueNode... args)