public class com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode extends com.oracle.truffle.nfi.test.NFITest$NFITestRootNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode
super_class: com.oracle.truffle.nfi.test.NFITest$NFITestRootNode
{
final java.lang.Object keepNewObject;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
final java.lang.Object freeAndGetObject;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
com.oracle.truffle.api.interop.InteropLibrary keepNewObjectInterop;
descriptor: Lcom/oracle/truffle/api/interop/InteropLibrary;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
com.oracle.truffle.api.interop.InteropLibrary freeAndGetObjectInterop;
descriptor: Lcom/oracle/truffle/api/interop/InteropLibrary;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode this
0: .line 195
aload 0 /* this */
invokespecial com.oracle.truffle.nfi.test.NFITest$NFITestRootNode.<init>:()V
1: .line 197
aload 0 /* this */
ldc "keep_new_object"
ldc "(pointer):pointer"
invokestatic com.oracle.truffle.nfi.test.ObjectNFITest.lookupAndBind:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
putfield com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.keepNewObject:Ljava/lang/Object;
2: .line 198
aload 0 /* this */
ldc "free_and_get_object"
ldc "(env, pointer):object"
invokestatic com.oracle.truffle.nfi.test.ObjectNFITest.lookupAndBind:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
putfield com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.freeAndGetObject:Ljava/lang/Object;
3: .line 200
aload 0 /* this */
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.keepNewObject:Ljava/lang/Object;
invokestatic com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.getInterop:(Ljava/lang/Object;)Lcom/oracle/truffle/api/interop/InteropLibrary;
putfield com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.keepNewObjectInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
4: .line 201
aload 0 /* this */
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.freeAndGetObject:Ljava/lang/Object;
invokestatic com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.getInterop:(Ljava/lang/Object;)Lcom/oracle/truffle/api/interop/InteropLibrary;
putfield com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.freeAndGetObjectInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
5: .line 195
return
end local 0 // com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/nfi/test/ObjectNFITest$TestKeepNewObjectNode;
public java.lang.Object executeTest(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 // com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode this
start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
0: .line 205
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.keepNewObjectInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.keepNewObject:Ljava/lang/Object;
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic com.oracle.truffle.nfi.test.ObjectNFITest.nativeAPI:Ljava/lang/Object;
aastore
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.execute:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 2 /* nativePtr */
start local 2 // java.lang.Object nativePtr
1: .line 206
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.freeAndGetObjectInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode.freeAndGetObject:Ljava/lang/Object;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2 /* nativePtr */
aastore
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.execute:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 // java.lang.Object nativePtr
end local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
end local 0 // com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/nfi/test/ObjectNFITest$TestKeepNewObjectNode;
0 2 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 2 2 nativePtr Ljava/lang/Object;
Exceptions:
throws com.oracle.truffle.api.interop.InteropException
MethodParameters:
Name Flags
frame
}
SourceFile: "ObjectNFITest.java"
NestHost: com.oracle.truffle.nfi.test.ObjectNFITest
InnerClasses:
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
protected abstract NFITestRootNode = com.oracle.truffle.nfi.test.NFITest$NFITestRootNode of com.oracle.truffle.nfi.test.NFITest
public TestKeepNewObjectNode = com.oracle.truffle.nfi.test.ObjectNFITest$TestKeepNewObjectNode of com.oracle.truffle.nfi.test.ObjectNFITest