final class com.oracle.svm.jni.functions.JNIFunctions
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.svm.jni.functions.JNIFunctions
super_class: java.lang.Object
{
private static final sun.misc.Unsafe UNSAFE;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final com.oracle.svm.core.c.CGlobalData<org.graalvm.nativeimage.c.type.CCharPointer> UNIMPLEMENTED_UNATTACHED_ERROR_MESSAGE;
descriptor: Lcom/oracle/svm/core/c/CGlobalData;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Lcom/oracle/svm/core/c/CGlobalData<Lorg/graalvm/nativeimage/c/type/CCharPointer;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/svm/jni/functions/JNIFunctions;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.svm.jni.functions.JNIFunctions.$assertionsDisabled:Z
3: invokestatic org.graalvm.compiler.serviceprovider.GraalUnsafeAccess.getUnsafe:()Lsun/misc/Unsafe;
putstatic com.oracle.svm.jni.functions.JNIFunctions.UNSAFE:Lsun/misc/Unsafe;
4: ldc "An unimplemented JNI function was called in a way or at a time when no error reporting could be performed."
5: invokestatic com.oracle.svm.core.c.CGlobalDataFactory.createCString:(Ljava/lang/String;)Lcom/oracle/svm/core/c/CGlobalData;
putstatic com.oracle.svm.jni.functions.JNIFunctions.UNIMPLEMENTED_UNATTACHED_ERROR_MESSAGE:Lcom/oracle/svm/core/c/CGlobalData;
6: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/jni/functions/JNIFunctions;
static int GetVersion(com.oracle.svm.jni.nativeapi.JNIEnvironment);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.jni.nativeapi.JNIVersion.JNI_VERSION_1_8:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint()
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NoPrologue;, epilogue = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NoEpilogue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
com.oracle.svm.core.annotate.Uninterruptible(reason = "No need to enter the isolate and also no way to report errors if unable to.")
MethodParameters:
Name Flags
env
static com.oracle.svm.jni.nativeapi.JNIObjectHandle NewLocalRef(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.newLocalRef:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 ref Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
ref
static void DeleteLocalRef(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.deleteLocalRef:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 localRef Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
localRef
static int EnsureLocalCapacity(com.oracle.svm.jni.nativeapi.JNIEnvironment, int);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_ERR:()I
ireturn
2: StackMap locals:
StackMap stack:
iload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.ensureLocalCapacity:(I)V
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 4 1 capacity I
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnJniErr;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnEDetachedOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
capacity
static int PushLocalFrame(com.oracle.svm.jni.nativeapi.JNIEnvironment, int);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_ERR:()I
ireturn
2: StackMap locals:
StackMap stack:
iload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.pushLocalFrame:(I)I
pop
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 4 1 capacity I
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnJniErr;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnEDetachedOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
capacity
static com.oracle.svm.jni.nativeapi.JNIObjectHandle PopLocalFrame(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 2
start local 2 1: invokestatic com.oracle.svm.jni.JNIObjectHandles.popLocalFrame:()V
2: aload 2
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 3 1 handle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 3 2 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle
static boolean IsSameObject(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 3
start local 3 1: aload 2
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 4
start local 4 2: aload 3
aload 4
if_acmpne 3
iconst_1
ireturn
StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
3: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 4 1 ref1 Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 4 2 ref2 Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 4 3 obj1 Ljava/lang/Object;
2 4 4 obj2 Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnFalse;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
ref1
ref2
static boolean IsInstanceOf(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Class
astore 4
start local 4 4: aload 4
aload 3
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 5 1 obj Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 5 2 clazz Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 5 3 o Ljava/lang/Object;
4 5 4 c Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnFalse;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
obj
clazz
static com.oracle.svm.jni.nativeapi.JNIObjectHandle GetObjectClass(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 2: aload 3
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 3 1 handle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 3 2 obj Ljava/lang/Object;
2 3 3 clazz Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle
static com.oracle.svm.jni.nativeapi.JNIObjectHandle GetSuperclass(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Class
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 handle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 2 2 clazz Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle
static boolean IsAssignableFrom(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 1: aload 2
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Class
astore 4
start local 4 2: aload 4
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 3 1 handle1 Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 3 2 handle2 Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 3 3 clazz1 Ljava/lang/Class<*>;
2 3 4 clazz2 Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnFalse;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle1
handle2
static com.oracle.svm.jni.nativeapi.JNIObjectHandle NewGlobalRef(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.newGlobalRef:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 handle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle
static void DeleteGlobalRef(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.deleteGlobalRef:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 globalRef Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
globalRef
static com.oracle.svm.jni.nativeapi.JNIObjectHandle NewWeakGlobalRef(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.newWeakGlobalRef:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 handle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle
static void DeleteWeakGlobalRef(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.deleteWeakGlobalRef:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 weak Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
weak
static com.oracle.svm.jni.nativeapi.JNIObjectRefType GetObjectRefType(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectRefType;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getHandleType:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectRefType;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
pop
3: getstatic com.oracle.svm.jni.nativeapi.JNIObjectRefType.Invalid:Lcom/oracle/svm/jni/nativeapi/JNIObjectRefType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 4 1 handle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint()
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle
static com.oracle.svm.jni.nativeapi.JNIObjectHandle FindClass(com.oracle.svm.jni.nativeapi.JNIEnvironment, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.core.util.Utf8.utf8ToString:(Lorg/graalvm/nativeimage/c/type/CCharPointer;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 3
2: new java.lang.StringBuilder
dup
ldc "L"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ";"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
3: StackMap locals: java.lang.String
StackMap stack:
invokestatic com.oracle.svm.jni.access.JNIReflectionDictionary.singleton:()Lcom/oracle/svm/jni/access/JNIReflectionDictionary;
aload 2
invokevirtual com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 4: aload 3
ifnonnull 6
5: new java.lang.NoClassDefFoundError
dup
aload 2
invokespecial java.lang.NoClassDefFoundError.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.lang.Class
StackMap stack:
aload 3
invokestatic com.oracle.svm.core.hub.DynamicHub.fromClass:(Ljava/lang/Class;)Lcom/oracle/svm/core/hub/DynamicHub;
invokevirtual com.oracle.svm.core.hub.DynamicHub.ensureInitialized:()V
7: aload 3
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 8 1 cname Lorg/graalvm/nativeimage/c/type/CCharPointer;
1 8 2 name Ljava/lang/String;
4 8 3 clazz Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
cname
static int RegisterNatives(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, com.oracle.svm.jni.nativeapi.JNINativeMethod, int);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lcom/oracle/svm/jni/nativeapi/JNINativeMethod;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Class
astore 4
start local 4 1: aload 2
checkcast org.graalvm.word.Pointer
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 23
4: StackMap locals: java.lang.Class org.graalvm.word.Pointer int
StackMap stack:
aload 5
checkcast com.oracle.svm.jni.nativeapi.JNINativeMethod
astore 7
start local 7 5: aload 7
invokeinterface com.oracle.svm.jni.nativeapi.JNINativeMethod.name:()Lorg/graalvm/nativeimage/c/type/CCharPointer;
invokestatic com.oracle.svm.core.util.Utf8.utf8ToString:(Lorg/graalvm/nativeimage/c/type/CCharPointer;)Ljava/lang/String;
astore 8
start local 8 6: aload 7
invokeinterface com.oracle.svm.jni.nativeapi.JNINativeMethod.signature:()Lorg/graalvm/nativeimage/c/type/CCharPointer;
invokestatic com.oracle.svm.core.util.Utf8.utf8ToString:(Lorg/graalvm/nativeimage/c/type/CCharPointer;)Ljava/lang/String;
astore 9
start local 9 7: aload 7
invokeinterface com.oracle.svm.jni.nativeapi.JNINativeMethod.fnPtr:()Lorg/graalvm/nativeimage/c/function/CFunctionPointer;
astore 10
start local 10 8: aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic jdk.vm.ci.meta.MetaUtil.toInternalName:(Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 9: invokestatic com.oracle.svm.jni.access.JNIReflectionDictionary.singleton:()Lcom/oracle/svm/jni/access/JNIReflectionDictionary;
aload 11
aload 8
aload 9
invokevirtual com.oracle.svm.jni.access.JNIReflectionDictionary.getLinkage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/svm/jni/access/JNINativeLinkage;
astore 12
start local 12 10: aload 12
ifnull 13
11: aload 12
aload 10
invokevirtual com.oracle.svm.jni.access.JNINativeLinkage.setEntryPoint:(Lorg/graalvm/nativeimage/c/function/CFunctionPointer;)V
12: goto 21
13: StackMap locals: com.oracle.svm.jni.nativeapi.JNIEnvironment com.oracle.svm.jni.nativeapi.JNIObjectHandle com.oracle.svm.jni.nativeapi.JNINativeMethod int java.lang.Class org.graalvm.word.Pointer int com.oracle.svm.jni.nativeapi.JNINativeMethod java.lang.String java.lang.String org.graalvm.nativeimage.c.function.CFunctionPointer java.lang.String com.oracle.svm.jni.access.JNINativeLinkage
StackMap stack:
new java.lang.StringBuilder
dup
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
start local 13 14: invokestatic com.oracle.svm.jni.access.JNIReflectionDictionary.singleton:()Lcom/oracle/svm/jni/access/JNIReflectionDictionary;
aload 11
aload 8
aload 9
invokevirtual com.oracle.svm.jni.access.JNIReflectionDictionary.getClosestLinkage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/oracle/svm/jni/access/JNINativeLinkage;
astore 14
start local 14 15: aload 14
ifnull 20
16: new java.lang.StringBuilder
dup
aload 13
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " (found closely matching JNI-accessible method: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: aload 14
invokevirtual com.oracle.svm.jni.access.JNINativeLinkage.getDeclaringClassName:()Ljava/lang/String;
iconst_1
iconst_0
invokestatic jdk.vm.ci.meta.MetaUtil.internalNameToJava:(Ljava/lang/String;ZZ)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 14
invokevirtual com.oracle.svm.jni.access.JNINativeLinkage.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 14
invokevirtual com.oracle.svm.jni.access.JNINativeLinkage.getDescriptor:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
20: StackMap locals: java.lang.String com.oracle.svm.jni.access.JNINativeLinkage
StackMap stack:
new java.lang.NoSuchMethodError
dup
aload 13
invokespecial java.lang.NoSuchMethodError.<init>:(Ljava/lang/String;)V
athrow
end local 14 end local 13 21: StackMap locals:
StackMap stack:
aload 5
ldc Lcom/oracle/svm/jni/nativeapi/JNINativeMethod;
invokestatic org.graalvm.nativeimage.c.struct.SizeOf.get:(Ljava/lang/Class;)I
invokeinterface org.graalvm.word.Pointer.add:(I)Lorg/graalvm/word/Pointer;
astore 5
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 22: iinc 6 1
StackMap locals: com.oracle.svm.jni.nativeapi.JNIEnvironment com.oracle.svm.jni.nativeapi.JNIObjectHandle com.oracle.svm.jni.nativeapi.JNINativeMethod int java.lang.Class org.graalvm.word.Pointer int
StackMap stack:
23: iload 6
iload 3
if_icmplt 4
end local 6 24: invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_OK:()I
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 25 1 hclazz Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 25 2 methods Lcom/oracle/svm/jni/nativeapi/JNINativeMethod;
0 25 3 nmethods I
1 25 4 clazz Ljava/lang/Class<*>;
2 25 5 p Lorg/graalvm/word/Pointer;
3 24 6 i I
5 22 7 entry Lcom/oracle/svm/jni/nativeapi/JNINativeMethod;
6 22 8 name Ljava/lang/String;
7 22 9 signature Ljava/lang/String;
8 22 10 fnPtr Lorg/graalvm/nativeimage/c/function/CFunctionPointer;
9 22 11 declaringClass Ljava/lang/String;
10 22 12 linkage Lcom/oracle/svm/jni/access/JNINativeLinkage;
14 21 13 message Ljava/lang/String;
15 21 14 l Lcom/oracle/svm/jni/access/JNINativeLinkage;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnJniErr;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnEDetachedOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hclazz
methods
nmethods
static int UnregisterNatives(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Class
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic jdk.vm.ci.meta.MetaUtil.toInternalName:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: invokestatic com.oracle.svm.jni.access.JNIReflectionDictionary.singleton:()Lcom/oracle/svm/jni/access/JNIReflectionDictionary;
aload 3
invokevirtual com.oracle.svm.jni.access.JNIReflectionDictionary.unsetEntryPoints:(Ljava/lang/String;)V
3: invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_OK:()I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 4 1 hclazz Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 4 2 clazz Ljava/lang/Class<*>;
2 4 3 internalName Ljava/lang/String;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnJniErr;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnEDetachedOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hclazz
static com.oracle.svm.jni.nativeapi.JNIMethodId GetMethodID(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CCharPointer, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lcom/oracle/svm/jni/nativeapi/JNIMethodId;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
iconst_0
invokestatic com.oracle.svm.jni.functions.JNIFunctions$Support.getMethodID:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;Lorg/graalvm/nativeimage/c/type/CCharPointer;Z)Lcom/oracle/svm/jni/nativeapi/JNIMethodId;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 hclazz Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 1 2 cname Lorg/graalvm/nativeimage/c/type/CCharPointer;
0 1 3 csig Lorg/graalvm/nativeimage/c/type/CCharPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hclazz
cname
csig
static com.oracle.svm.jni.nativeapi.JNIMethodId GetStaticMethodID(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CCharPointer, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lcom/oracle/svm/jni/nativeapi/JNIMethodId;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
iconst_1
invokestatic com.oracle.svm.jni.functions.JNIFunctions$Support.getMethodID:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;Lorg/graalvm/nativeimage/c/type/CCharPointer;Z)Lcom/oracle/svm/jni/nativeapi/JNIMethodId;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 hclazz Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 1 2 cname Lorg/graalvm/nativeimage/c/type/CCharPointer;
0 1 3 csig Lorg/graalvm/nativeimage/c/type/CCharPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hclazz
cname
csig
static com.oracle.svm.jni.nativeapi.JNIFieldId GetFieldID(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CCharPointer, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lcom/oracle/svm/jni/nativeapi/JNIFieldId;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
iconst_0
invokestatic com.oracle.svm.jni.functions.JNIFunctions$Support.getFieldID:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;Lorg/graalvm/nativeimage/c/type/CCharPointer;Z)Lcom/oracle/svm/jni/nativeapi/JNIFieldId;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 hclazz Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 1 2 cname Lorg/graalvm/nativeimage/c/type/CCharPointer;
0 1 3 csig Lorg/graalvm/nativeimage/c/type/CCharPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hclazz
cname
csig
static com.oracle.svm.jni.nativeapi.JNIFieldId GetStaticFieldID(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CCharPointer, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lcom/oracle/svm/jni/nativeapi/JNIFieldId;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
iconst_1
invokestatic com.oracle.svm.jni.functions.JNIFunctions$Support.getFieldID:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;Lorg/graalvm/nativeimage/c/type/CCharPointer;Z)Lcom/oracle/svm/jni/nativeapi/JNIFieldId;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 hclazz Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 1 2 cname Lorg/graalvm/nativeimage/c/type/CCharPointer;
0 1 3 csig Lorg/graalvm/nativeimage/c/type/CCharPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hclazz
cname
csig
static com.oracle.svm.jni.nativeapi.JNIObjectHandle AllocObject(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Class
astore 2
start local 2 1: getstatic com.oracle.svm.jni.functions.JNIFunctions.UNSAFE:Lsun/misc/Unsafe;
aload 2
invokevirtual sun.misc.Unsafe.allocateInstance:(Ljava/lang/Class;)Ljava/lang/Object;
astore 3
start local 3 2: goto 5
end local 3 StackMap locals: com.oracle.svm.jni.nativeapi.JNIEnvironment com.oracle.svm.jni.nativeapi.JNIObjectHandle java.lang.Class
StackMap stack: java.lang.InstantiationException
3: pop
4: aconst_null
astore 3
start local 3 5: StackMap locals: java.lang.Object
StackMap stack:
aload 3
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 6 1 classHandle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 6 2 clazz Ljava/lang/Class<*>;
2 3 3 instance Ljava/lang/Object;
5 6 3 instance Ljava/lang/Object;
Exception table:
from to target type
1 2 3 Class java.lang.InstantiationException
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
classHandle
static com.oracle.svm.jni.nativeapi.JNIObjectHandle NewString(com.oracle.svm.jni.nativeapi.JNIEnvironment, org.graalvm.nativeimage.c.type.CShortPointer, int);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lorg/graalvm/nativeimage/c/type/CShortPointer;I)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 2
newarray 5
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 6
3: StackMap locals: com.oracle.svm.jni.nativeapi.JNIEnvironment org.graalvm.nativeimage.c.type.CShortPointer int top char[] int
StackMap stack:
aload 1
iload 5
invokeinterface org.graalvm.nativeimage.c.type.CShortPointer.read:(I)S
invokestatic java.lang.Short.toUnsignedInt:(S)I
istore 6
start local 6 4: aload 4
iload 5
iload 6
i2c
castore
end local 6 5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
aload 4
arraylength
if_icmplt 3
end local 5 7: new java.lang.String
dup
aload 4
invokespecial java.lang.String.<init>:([C)V
astore 3
start local 3 8: aload 3
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 9 1 unicode Lorg/graalvm/nativeimage/c/type/CShortPointer;
0 9 2 len I
8 9 3 str Ljava/lang/String;
1 9 4 chars [C
2 7 5 i I
4 5 6 value I
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
unicode
len
static com.oracle.svm.jni.nativeapi.JNIObjectHandle NewStringUTF(com.oracle.svm.jni.nativeapi.JNIEnvironment, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.core.util.Utf8.utf8ToString:(Lorg/graalvm/nativeimage/c/type/CCharPointer;)Ljava/lang/String;
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 bytes Lorg/graalvm/nativeimage/c/type/CCharPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
bytes
static int GetStringLength(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.String.length:()I
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 4 1 hstr Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 4 2 str Ljava/lang/String;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnMinusOne;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnMinusOneOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hstr
static int GetStringUTFLength(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
invokestatic com.oracle.svm.core.util.Utf8.utf8Length:(Ljava/lang/String;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 hstr Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 2 2 str Ljava/lang/String;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnMinusOne;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnMinusOneOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hstr
static org.graalvm.nativeimage.c.type.CShortPointer GetStringChars(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lorg/graalvm/nativeimage/c/type/CShortPointer;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic com.oracle.svm.jni.functions.JNIFunctions$Support.getNulTerminatedStringCharsAndPin:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lorg/graalvm/nativeimage/c/type/CShortPointer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 hstr Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 1 2 isCopy Lorg/graalvm/nativeimage/c/type/CCharPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hstr
isCopy
static void ReleaseStringChars(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CShortPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CShortPointer;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.oracle.svm.jni.functions.JNIFunctions$Support.unpinString:(Lorg/graalvm/nativeimage/c/type/CShortPointer;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 hstr Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 2 2 chars Lorg/graalvm/nativeimage/c/type/CShortPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hstr
chars
static org.graalvm.nativeimage.c.type.CCharPointer GetStringUTFChars(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lorg/graalvm/nativeimage/c/type/CCharPointer;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 1: aload 3
ifnonnull 3
2: invokestatic org.graalvm.word.WordFactory.nullPointer:()Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.nativeimage.c.type.CCharPointer
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokeinterface org.graalvm.nativeimage.c.type.CCharPointer.isNonNull:()Z
ifeq 5
4: aload 2
iconst_1
invokeinterface org.graalvm.nativeimage.c.type.CCharPointer.write:(B)V
5: StackMap locals:
StackMap stack:
aload 3
iconst_1
invokestatic com.oracle.svm.core.util.Utf8.stringToUtf8:(Ljava/lang/String;Z)[B
astore 4
start local 4 6: aload 4
invokestatic com.oracle.svm.jni.JNIThreadLocalPinnedObjects.pinArrayAndGetAddress:(Ljava/lang/Object;)Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.nativeimage.c.type.CCharPointer
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 7 1 hstr Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 7 2 isCopy Lorg/graalvm/nativeimage/c/type/CCharPointer;
1 7 3 str Ljava/lang/String;
6 7 4 utf [B
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hstr
isCopy
static void ReleaseStringUTFChars(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.oracle.svm.jni.JNIThreadLocalPinnedObjects.unpinArrayByAddress:(Lorg/graalvm/word/PointerBase;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 hstr Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 2 2 chars Lorg/graalvm/nativeimage/c/type/CCharPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hstr
chars
static org.graalvm.nativeimage.c.type.CShortPointer GetStringCritical(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lorg/graalvm/nativeimage/c/type/CShortPointer;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic com.oracle.svm.jni.functions.JNIFunctions$Support.getNulTerminatedStringCharsAndPin:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lorg/graalvm/nativeimage/c/type/CShortPointer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 hstr Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 1 2 isCopy Lorg/graalvm/nativeimage/c/type/CCharPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hstr
isCopy
static void ReleaseStringCritical(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CShortPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CShortPointer;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.oracle.svm.jni.functions.JNIFunctions$Support.unpinString:(Lorg/graalvm/nativeimage/c/type/CShortPointer;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 hstr Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 2 2 carray Lorg/graalvm/nativeimage/c/type/CShortPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hstr
carray
static void GetStringRegion(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, int, int, org.graalvm.nativeimage.c.type.CShortPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;IILorg/graalvm/nativeimage/c/type/CShortPointer;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 1: iload 2
ifge 3
2: new java.lang.StringIndexOutOfBoundsException
dup
iload 2
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
iload 2
iload 3
iadd
aload 5
invokevirtual java.lang.String.length:()I
if_icmple 5
4: new java.lang.StringIndexOutOfBoundsException
dup
iload 2
iload 3
iadd
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
5: StackMap locals:
StackMap stack:
iload 3
ifge 7
6: new java.lang.StringIndexOutOfBoundsException
dup
iload 3
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
7: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 8: goto 12
9: StackMap locals: int
StackMap stack:
aload 5
iload 2
iload 6
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 10: aload 4
iload 6
iload 7
i2s
invokeinterface org.graalvm.nativeimage.c.type.CShortPointer.write:(IS)V
end local 7 11: iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
iload 3
if_icmplt 9
end local 6 13: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 14 1 hstr Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 14 2 start I
0 14 3 len I
0 14 4 buf Lorg/graalvm/nativeimage/c/type/CShortPointer;
1 14 5 str Ljava/lang/String;
8 13 6 i I
10 11 7 c C
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hstr
start
len
buf
static void GetStringUTFRegion(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, int, int, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;IILorg/graalvm/nativeimage/c/type/CCharPointer;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 1: iload 2
ifge 3
2: new java.lang.StringIndexOutOfBoundsException
dup
iload 2
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
iload 2
iload 3
iadd
aload 5
invokevirtual java.lang.String.length:()I
if_icmple 5
4: new java.lang.StringIndexOutOfBoundsException
dup
iload 2
iload 3
iadd
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
5: StackMap locals:
StackMap stack:
iload 3
ifge 7
6: new java.lang.StringIndexOutOfBoundsException
dup
iload 3
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
7: StackMap locals:
StackMap stack:
iload 3
iconst_1
invokestatic com.oracle.svm.core.util.Utf8.maxUtf8ByteLength:(IZ)I
istore 6
start local 6 8: aload 4
iload 6
invokestatic org.graalvm.nativeimage.c.type.CTypeConversion.asByteBuffer:(Lorg/graalvm/word/PointerBase;I)Ljava/nio/ByteBuffer;
astore 7
start local 7 9: aload 7
aload 5
iload 2
iload 2
iload 3
iadd
iconst_1
invokestatic com.oracle.svm.core.util.Utf8.substringToUtf8:(Ljava/nio/ByteBuffer;Ljava/lang/String;IIZ)V
10: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 11 1 hstr Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 11 2 start I
0 11 3 len I
0 11 4 buf Lorg/graalvm/nativeimage/c/type/CCharPointer;
1 11 5 str Ljava/lang/String;
8 11 6 capacity I
9 11 7 buffer Ljava/nio/ByteBuffer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hstr
start
len
buf
static com.oracle.svm.jni.nativeapi.JNIObjectHandle NewDirectByteBuffer(com.oracle.svm.jni.nativeapi.JNIEnvironment, org.graalvm.nativeimage.c.type.WordPointer, long);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lorg/graalvm/nativeimage/c/type/WordPointer;J)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new com.oracle.svm.jni.functions.JNIFunctions$Target_java_nio_DirectByteBuffer
dup
aload 1
invokeinterface org.graalvm.nativeimage.c.type.WordPointer.rawValue:()J
lload 2
l2i
invokespecial com.oracle.svm.jni.functions.JNIFunctions$Target_java_nio_DirectByteBuffer.<init>:(JI)V
astore 4
start local 4 1: aload 4
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 address Lorg/graalvm/nativeimage/c/type/WordPointer;
0 2 2 capacity J
1 2 4 bb Lcom/oracle/svm/jni/functions/JNIFunctions$Target_java_nio_DirectByteBuffer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
address
capacity
static org.graalvm.nativeimage.c.type.WordPointer GetDirectBufferAddress(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lorg/graalvm/nativeimage/c/type/WordPointer;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: invokestatic org.graalvm.word.WordFactory.nullPointer:()Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.nativeimage.c.type.WordPointer
astore 2
start local 2 1: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 3
start local 3 2: aload 3
instanceof com.oracle.svm.jni.functions.JNIFunctions$Target_java_nio_Buffer
ifeq 5
3: aload 3
checkcast com.oracle.svm.jni.functions.JNIFunctions$Target_java_nio_Buffer
astore 4
start local 4 4: aload 4
getfield com.oracle.svm.jni.functions.JNIFunctions$Target_java_nio_Buffer.address:J
invokestatic org.graalvm.word.WordFactory.pointer:(J)Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.nativeimage.c.type.WordPointer
astore 2
end local 4 5: StackMap locals: org.graalvm.nativeimage.c.type.WordPointer java.lang.Object
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 6 1 handle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 6 2 address Lorg/graalvm/nativeimage/c/type/WordPointer;
2 6 3 obj Ljava/lang/Object;
4 5 4 buf Lcom/oracle/svm/jni/functions/JNIFunctions$Target_java_nio_Buffer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle
static long GetDirectBufferCapacity(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)J
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.nio.Buffer
astore 2
start local 2 1: aload 2
invokevirtual java.nio.Buffer.capacity:()I
i2l
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 hbuf Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 2 2 buffer Ljava/nio/Buffer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnMinusOne;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnMinusOneOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
hbuf
static com.oracle.svm.jni.nativeapi.JNIObjectHandle NewObjectArray(com.oracle.svm.jni.nativeapi.JNIEnvironment, int, com.oracle.svm.jni.nativeapi.JNIObjectHandle, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;ILcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
ifge 2
1: invokestatic com.oracle.svm.jni.JNIObjectHandles.nullHandle:()Lorg/graalvm/word/SignedWord;
checkcast com.oracle.svm.jni.nativeapi.JNIObjectHandle
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Class
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: aload 4
ifnull 8
5: aload 3
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 6
start local 6 6: aload 4
iload 1
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 5
7: aload 5
aload 6
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
end local 6 8: StackMap locals: java.lang.Class java.lang.Object[]
StackMap stack:
aload 5
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 9 1 length I
0 9 2 hElementClass Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 9 3 hInitialElement Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
3 9 4 elementClass Ljava/lang/Class<*>;
4 9 5 array [Ljava/lang/Object;
6 8 6 initialElement Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
length
hElementClass
hInitialElement
static com.oracle.svm.jni.nativeapi.JNIObjectHandle GetObjectArrayElement(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, int);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;I)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 3
start local 3 1: aload 3
iload 2
aaload
astore 4
start local 4 2: aload 4
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 3 1 harray Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 3 2 index I
1 3 3 array [Ljava/lang/Object;
2 3 4 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
harray
index
static void SetObjectArrayElement(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, int, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;ILcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 4
start local 4 1: aload 3
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 5
start local 5 2: aload 4
iload 2
aload 5
aastore
3: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 4 1 harray Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 4 2 index I
0 4 3 hvalue Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 4 4 array [Ljava/lang/Object;
2 4 5 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
harray
index
hvalue
static org.graalvm.nativeimage.c.type.WordPointer GetPrimitiveArrayCritical(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lorg/graalvm/nativeimage/c/type/WordPointer;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: invokestatic org.graalvm.word.WordFactory.nullPointer:()Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.nativeimage.c.type.WordPointer
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokeinterface org.graalvm.nativeimage.c.type.CCharPointer.isNonNull:()Z
ifeq 5
4: aload 2
iconst_0
invokeinterface org.graalvm.nativeimage.c.type.CCharPointer.write:(B)V
5: StackMap locals:
StackMap stack:
aload 3
invokestatic com.oracle.svm.jni.JNIThreadLocalPinnedObjects.pinArrayAndGetAddress:(Ljava/lang/Object;)Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.nativeimage.c.type.WordPointer
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 6 1 harray Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 6 2 isCopy Lorg/graalvm/nativeimage/c/type/CCharPointer;
1 6 3 array Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
harray
isCopy
static void ReleasePrimitiveArrayCritical(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.WordPointer, int);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/WordPointer;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokestatic com.oracle.svm.jni.JNIThreadLocalPinnedObjects.unpinArrayByAddress:(Lorg/graalvm/word/PointerBase;)Z
pop
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 harray Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 2 2 carray Lorg/graalvm/nativeimage/c/type/WordPointer;
0 2 3 mode I
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
harray
carray
mode
static int GetArrayLength(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 harray Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnMinusOne;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnMinusOneOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
harray
static boolean ExceptionCheck(com.oracle.svm.jni.nativeapi.JNIEnvironment);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.jni.JNIThreadLocalPendingException.get:()Ljava/lang/Throwable;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint()
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
static com.oracle.svm.jni.nativeapi.JNIObjectHandle ExceptionOccurred(com.oracle.svm.jni.nativeapi.JNIEnvironment);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.jni.JNIThreadLocalPendingException.get:()Ljava/lang/Throwable;
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
static void ExceptionClear(com.oracle.svm.jni.nativeapi.JNIEnvironment);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;)V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.jni.JNIThreadLocalPendingException.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
static void ExceptionDescribe(com.oracle.svm.jni.nativeapi.JNIEnvironment);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic com.oracle.svm.jni.JNIThreadLocalPendingException.get:()Ljava/lang/Throwable;
astore 1
start local 1 1: invokestatic com.oracle.svm.jni.JNIThreadLocalPendingException.clear:()V
2: aload 1
ifnull 9
3: aload 1
instanceof java.lang.ThreadDeath
ifne 9
4: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Exception in thread \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 1
invokevirtual java.lang.Throwable.printStackTrace:()V
6: goto 8
StackMap locals: com.oracle.svm.jni.nativeapi.JNIEnvironment java.lang.Throwable
StackMap stack: java.lang.Throwable
7: pop
8: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
1 10 1 t Ljava/lang/Throwable;
Exception table:
from to target type
5 6 7 Class java.lang.Throwable
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
static int Throw(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Throwable
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 1 1 handle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
Exceptions:
throws java.lang.Throwable
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnZero;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnEDetachedOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle
static int ThrowNew(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lorg/graalvm/nativeimage/c/type/CCharPointer;)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 1: aload 3
ldc "<init>"
ldc "(Ljava/lang/String;)V"
iconst_0
invokestatic com.oracle.svm.jni.functions.JNIFunctions$Support.getMethodID:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Z)Lcom/oracle/svm/jni/nativeapi/JNIMethodId;
astore 4
start local 4 2: aload 0
aload 2
invokestatic com.oracle.svm.jni.functions.JNIFunctions.NewStringUTF:(Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
astore 5
start local 5 3: aload 0
invokeinterface com.oracle.svm.jni.nativeapi.JNIEnvironment.getFunctions:()Lcom/oracle/svm/jni/nativeapi/JNINativeInterface;
invokeinterface com.oracle.svm.jni.nativeapi.JNINativeInterface.getNewObjectA:()Lcom/oracle/svm/jni/nativeapi/JNIFunctionPointerTypes$NewObjectAFunctionPointer;
checkcast com.oracle.svm.jni.functions.JNIFunctions$NewObjectWithObjectArrayArgFunctionPointer
astore 6
start local 6 4: bipush 8
invokestatic org.graalvm.nativeimage.StackValue.get:(I)Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.nativeimage.c.type.CLongPointer
astore 7
start local 7 5: aload 7
aload 5
invokeinterface com.oracle.svm.jni.nativeapi.JNIObjectHandle.rawValue:()J
invokeinterface org.graalvm.nativeimage.c.type.CLongPointer.write:(J)V
6: aload 6
aload 0
aload 1
aload 4
aload 7
invokeinterface com.oracle.svm.jni.functions.JNIFunctions$NewObjectWithObjectArrayArgFunctionPointer.invoke:(Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lcom/oracle/svm/jni/nativeapi/JNIMethodId;Lorg/graalvm/nativeimage/c/type/CLongPointer;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
astore 8
start local 8 7: aload 8
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Throwable
athrow
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 8 1 clazzHandle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 8 2 message Lorg/graalvm/nativeimage/c/type/CCharPointer;
1 8 3 clazz Ljava/lang/Class<*>;
2 8 4 ctor Lcom/oracle/svm/jni/nativeapi/JNIMethodId;
3 8 5 messageHandle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
4 8 6 newObjectA Lcom/oracle/svm/jni/functions/JNIFunctions$NewObjectWithObjectArrayArgFunctionPointer;
5 8 7 array Lorg/graalvm/nativeimage/c/type/CLongPointer;
7 8 8 exception Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
Exceptions:
throws java.lang.Throwable
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnZero;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnEDetachedOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
clazzHandle
message
static void FatalError(com.oracle.svm.jni.nativeapi.JNIEnvironment, org.graalvm.nativeimage.c.type.CCharPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lorg/graalvm/nativeimage/c/type/CCharPointer;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.svm.core.log.Log.log:()Lcom/oracle/svm/core/log/Log;
iconst_1
invokevirtual com.oracle.svm.core.log.Log.autoflush:(Z)Lcom/oracle/svm/core/log/Log;
astore 2
start local 2 1: aload 2
ldc "Fatal error reported via JNI: "
invokevirtual com.oracle.svm.core.log.Log.string:(Ljava/lang/String;)Lcom/oracle/svm/core/log/Log;
aload 1
invokevirtual com.oracle.svm.core.log.Log.string:(Lorg/graalvm/nativeimage/c/type/CCharPointer;)Lcom/oracle/svm/core/log/Log;
invokevirtual com.oracle.svm.core.log.Log.newline:()Lcom/oracle/svm/core/log/Log;
pop
2: invokestatic com.oracle.svm.core.thread.VMThreads$StatusSupport.setStatusIgnoreSafepoints:()V
3: aload 2
invokestatic com.oracle.svm.core.snippets.KnownIntrinsics.readCallerStackPointer:()Lorg/graalvm/word/Pointer;
invokestatic com.oracle.svm.core.snippets.KnownIntrinsics.readReturnAddress:()Lorg/graalvm/nativeimage/c/function/CodePointer;
invokestatic com.oracle.svm.core.SubstrateUtil.printDiagnostics:(Lcom/oracle/svm/core/log/Log;Lorg/graalvm/word/Pointer;Lorg/graalvm/nativeimage/c/function/CodePointer;)V
4: ldc Lorg/graalvm/nativeimage/LogHandler;
invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.nativeimage.LogHandler
invokeinterface org.graalvm.nativeimage.LogHandler.fatalError:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 6 1 message Lorg/graalvm/nativeimage/c/type/CCharPointer;
1 6 2 log Lcom/oracle/svm/core/log/Log;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerVoid;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
com.oracle.svm.core.annotate.NeverInline(value = "Access of caller frame.")
MethodParameters:
Name Flags
env
message
static int GetJavaVM(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIJavaVMPointer);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIJavaVMPointer;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.functions.JNIFunctionTables.singleton:()Lcom/oracle/svm/jni/functions/JNIFunctionTables;
invokevirtual com.oracle.svm.jni.functions.JNIFunctionTables.getGlobalJavaVM:()Lcom/oracle/svm/jni/nativeapi/JNIJavaVM;
invokeinterface com.oracle.svm.jni.nativeapi.JNIJavaVMPointer.write:(Lcom/oracle/svm/jni/nativeapi/JNIJavaVM;)V
1: invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_OK:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 2 1 vm Lcom/oracle/svm/jni/nativeapi/JNIJavaVMPointer;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnJniErr;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnEDetachedOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
vm
static com.oracle.svm.jni.nativeapi.JNIFieldId FromReflectedField(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIFieldId;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: invokestatic org.graalvm.word.WordFactory.zero:()Lorg/graalvm/word/WordBase;
checkcast com.oracle.svm.jni.nativeapi.JNIFieldId
astore 2
start local 2 1: invokestatic com.oracle.svm.jni.access.JNIAccessFeature.singleton:()Lcom/oracle/svm/jni/access/JNIAccessFeature;
invokevirtual com.oracle.svm.jni.access.JNIAccessFeature.haveJavaRuntimeReflectionSupport:()Z
ifeq 6
2: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.reflect.Field
astore 3
start local 3 3: aload 3
ifnull 6
4: aload 3
invokevirtual java.lang.reflect.Field.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
istore 4
start local 4 5: invokestatic com.oracle.svm.jni.access.JNIReflectionDictionary.singleton:()Lcom/oracle/svm/jni/access/JNIReflectionDictionary;
aload 3
invokevirtual java.lang.reflect.Field.getDeclaringClass:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
iload 4
invokevirtual com.oracle.svm.jni.access.JNIReflectionDictionary.getDeclaredFieldID:(Ljava/lang/Class;Ljava/lang/String;Z)Lcom/oracle/svm/jni/nativeapi/JNIFieldId;
astore 2
end local 4 end local 3 6: StackMap locals: com.oracle.svm.jni.nativeapi.JNIFieldId
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 7 1 fieldHandle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 7 2 fieldId Lcom/oracle/svm/jni/nativeapi/JNIFieldId;
3 6 3 obj Ljava/lang/reflect/Field;
5 6 4 isStatic Z
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
fieldHandle
static com.oracle.svm.jni.nativeapi.JNIObjectHandle ToReflectedField(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, com.oracle.svm.jni.nativeapi.JNIFieldId);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lcom/oracle/svm/jni/nativeapi/JNIFieldId;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: invokestatic com.oracle.svm.jni.access.JNIAccessFeature.singleton:()Lcom/oracle/svm/jni/access/JNIAccessFeature;
invokevirtual com.oracle.svm.jni.access.JNIAccessFeature.haveJavaRuntimeReflectionSupport:()Z
ifeq 9
2: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.Class
astore 4
start local 4 3: aload 4
ifnull 9
4: invokestatic com.oracle.svm.jni.access.JNIReflectionDictionary.singleton:()Lcom/oracle/svm/jni/access/JNIReflectionDictionary;
aload 4
aload 2
invokevirtual com.oracle.svm.jni.access.JNIReflectionDictionary.getFieldNameByID:(Ljava/lang/Class;Lcom/oracle/svm/jni/nativeapi/JNIFieldId;)Ljava/lang/String;
astore 5
start local 5 5: aload 5
ifnull 9
6: aload 4
aload 5
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 3
7: goto 9
StackMap locals: com.oracle.svm.jni.nativeapi.JNIEnvironment com.oracle.svm.jni.nativeapi.JNIObjectHandle com.oracle.svm.jni.nativeapi.JNIFieldId java.lang.reflect.Field java.lang.Class java.lang.String
StackMap stack: java.lang.NoSuchFieldException
8: pop
end local 5 end local 4 9: StackMap locals:
StackMap stack:
aload 3
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 10 1 classHandle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 10 2 fieldId Lcom/oracle/svm/jni/nativeapi/JNIFieldId;
1 10 3 field Ljava/lang/reflect/Field;
3 9 4 clazz Ljava/lang/Class<*>;
5 9 5 name Ljava/lang/String;
Exception table:
from to target type
6 7 8 Class java.lang.NoSuchFieldException
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
classHandle
fieldId
static com.oracle.svm.jni.nativeapi.JNIMethodId FromReflectedMethod(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Lcom/oracle/svm/jni/nativeapi/JNIMethodId;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: invokestatic org.graalvm.word.WordFactory.nullPointer:()Lorg/graalvm/word/PointerBase;
checkcast com.oracle.svm.jni.nativeapi.JNIMethodId
astore 2
start local 2 1: invokestatic com.oracle.svm.jni.access.JNIAccessFeature.singleton:()Lcom/oracle/svm/jni/access/JNIAccessFeature;
invokevirtual com.oracle.svm.jni.access.JNIAccessFeature.haveJavaRuntimeReflectionSupport:()Z
ifeq 7
2: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.reflect.Executable
astore 3
start local 3 3: aload 3
ifnull 7
4: aload 3
invokevirtual java.lang.reflect.Executable.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
istore 4
start local 4 5: aload 3
invokestatic com.oracle.svm.jni.access.JNIAccessibleMethodDescriptor.of:(Ljava/lang/reflect/Executable;)Lcom/oracle/svm/jni/access/JNIAccessibleMethodDescriptor;
astore 5
start local 5 6: invokestatic com.oracle.svm.jni.access.JNIReflectionDictionary.singleton:()Lcom/oracle/svm/jni/access/JNIReflectionDictionary;
aload 3
invokevirtual java.lang.reflect.Executable.getDeclaringClass:()Ljava/lang/Class;
aload 5
iload 4
invokevirtual com.oracle.svm.jni.access.JNIReflectionDictionary.getDeclaredMethodID:(Ljava/lang/Class;Lcom/oracle/svm/jni/access/JNIAccessibleMethodDescriptor;Z)Lcom/oracle/svm/jni/nativeapi/JNIMethodId;
astore 2
end local 5 end local 4 end local 3 7: StackMap locals: com.oracle.svm.jni.nativeapi.JNIMethodId
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 8 1 methodHandle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 8 2 methodId Lcom/oracle/svm/jni/nativeapi/JNIMethodId;
3 7 3 method Ljava/lang/reflect/Executable;
5 7 4 isStatic Z
6 7 5 descriptor Lcom/oracle/svm/jni/access/JNIAccessibleMethodDescriptor;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullWord;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
methodHandle
static com.oracle.svm.jni.nativeapi.JNIObjectHandle ToReflectedMethod(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle, com.oracle.svm.jni.nativeapi.JNIMethodId, boolean);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;Lcom/oracle/svm/jni/nativeapi/JNIMethodId;Z)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: invokestatic com.oracle.svm.jni.access.JNIAccessFeature.singleton:()Lcom/oracle/svm/jni/access/JNIAccessFeature;
invokevirtual com.oracle.svm.jni.access.JNIAccessFeature.haveJavaRuntimeReflectionSupport:()Z
ifeq 23
2: aload 2
invokestatic com.oracle.svm.jni.access.JNIReflectionDictionary.getMethodByID:(Lcom/oracle/svm/jni/nativeapi/JNIMethodId;)Lcom/oracle/svm/jni/access/JNIAccessibleMethod;
astore 5
start local 5 3: aload 5
invokestatic com.oracle.svm.jni.access.JNIReflectionDictionary.getMethodDescriptor:(Lcom/oracle/svm/jni/access/JNIAccessibleMethod;)Lcom/oracle/svm/jni/access/JNIAccessibleMethodDescriptor;
astore 6
start local 6 4: aload 6
ifnull 23
5: aload 5
invokevirtual com.oracle.svm.jni.access.JNIAccessibleMethod.getDeclaringClass:()Lcom/oracle/svm/jni/access/JNIAccessibleClass;
invokevirtual com.oracle.svm.jni.access.JNIAccessibleClass.getClassObject:()Ljava/lang/Class;
astore 7
start local 7 6: aload 6
invokevirtual com.oracle.svm.jni.access.JNIAccessibleMethodDescriptor.isConstructor:()Z
ifeq 15
7: aload 7
invokevirtual java.lang.Class.getDeclaredConstructors:()[Ljava/lang/reflect/Constructor;
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 13
StackMap locals: com.oracle.svm.jni.nativeapi.JNIEnvironment com.oracle.svm.jni.nativeapi.JNIObjectHandle com.oracle.svm.jni.nativeapi.JNIMethodId int java.lang.reflect.Executable com.oracle.svm.jni.access.JNIAccessibleMethod com.oracle.svm.jni.access.JNIAccessibleMethodDescriptor java.lang.Class top int int java.lang.reflect.Constructor[]
StackMap stack:
8: aload 11
iload 9
aaload
astore 8
start local 8 9: aload 6
aload 8
invokestatic com.oracle.svm.jni.access.JNIAccessibleMethodDescriptor.of:(Ljava/lang/reflect/Executable;)Lcom/oracle/svm/jni/access/JNIAccessibleMethodDescriptor;
invokevirtual com.oracle.svm.jni.access.JNIAccessibleMethodDescriptor.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 8
astore 4
11: goto 23
end local 8 12: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
13: iload 9
iload 10
if_icmplt 8
14: goto 23
15: StackMap locals: com.oracle.svm.jni.nativeapi.JNIEnvironment com.oracle.svm.jni.nativeapi.JNIObjectHandle com.oracle.svm.jni.nativeapi.JNIMethodId int java.lang.reflect.Executable com.oracle.svm.jni.access.JNIAccessibleMethod com.oracle.svm.jni.access.JNIAccessibleMethodDescriptor java.lang.Class
StackMap stack:
aload 7
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 22
StackMap locals: com.oracle.svm.jni.nativeapi.JNIEnvironment com.oracle.svm.jni.nativeapi.JNIObjectHandle com.oracle.svm.jni.nativeapi.JNIMethodId int java.lang.reflect.Executable com.oracle.svm.jni.access.JNIAccessibleMethod com.oracle.svm.jni.access.JNIAccessibleMethodDescriptor java.lang.Class top int int java.lang.reflect.Method[]
StackMap stack:
16: aload 11
iload 9
aaload
astore 8
start local 8 17: aload 6
invokevirtual com.oracle.svm.jni.access.JNIAccessibleMethodDescriptor.getName:()Ljava/lang/String;
aload 8
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
18: aload 6
aload 8
invokestatic com.oracle.svm.jni.access.JNIAccessibleMethodDescriptor.of:(Ljava/lang/reflect/Executable;)Lcom/oracle/svm/jni/access/JNIAccessibleMethodDescriptor;
invokevirtual com.oracle.svm.jni.access.JNIAccessibleMethodDescriptor.equals:(Ljava/lang/Object;)Z
ifeq 21
19: aload 8
astore 4
20: goto 23
end local 8 21: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
22: iload 9
iload 10
if_icmplt 16
end local 7 end local 6 end local 5 23: StackMap locals: com.oracle.svm.jni.nativeapi.JNIEnvironment com.oracle.svm.jni.nativeapi.JNIObjectHandle com.oracle.svm.jni.nativeapi.JNIMethodId int java.lang.reflect.Executable
StackMap stack:
aload 4
invokestatic com.oracle.svm.jni.JNIObjectHandles.createLocal:(Ljava/lang/Object;)Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 24 1 classHandle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
0 24 2 methodId Lcom/oracle/svm/jni/nativeapi/JNIMethodId;
0 24 3 isStatic Z
1 24 4 result Ljava/lang/reflect/Executable;
3 23 5 jniMethod Lcom/oracle/svm/jni/access/JNIAccessibleMethod;
4 23 6 descriptor Lcom/oracle/svm/jni/access/JNIAccessibleMethodDescriptor;
6 23 7 clazz Ljava/lang/Class<*>;
9 12 8 ctor Ljava/lang/reflect/Constructor<*>;
17 21 8 method Ljava/lang/reflect/Method;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
classHandle
methodId
isStatic
static int MonitorEnter(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
invokestatic com.oracle.svm.core.monitor.MonitorSupport.singleton:()Lcom/oracle/svm/core/monitor/MonitorSupport;
aload 2
invokevirtual com.oracle.svm.core.monitor.MonitorSupport.monitorEnter:(Ljava/lang/Object;)V
4: getstatic com.oracle.svm.jni.functions.JNIFunctions.$assertionsDisabled:Z
ifne 5
aload 2
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 2
invokestatic com.oracle.svm.jni.JNIThreadOwnedMonitors.entered:(Ljava/lang/Object;)V
6: invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_OK:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 7 1 handle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 7 2 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnJniErr;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnEDetachedOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle
static int MonitorExit(com.oracle.svm.jni.nativeapi.JNIEnvironment, com.oracle.svm.jni.nativeapi.JNIObjectHandle);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 5
4: new java.lang.IllegalMonitorStateException
dup
invokespecial java.lang.IllegalMonitorStateException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
invokestatic com.oracle.svm.core.monitor.MonitorSupport.singleton:()Lcom/oracle/svm/core/monitor/MonitorSupport;
aload 2
invokevirtual com.oracle.svm.core.monitor.MonitorSupport.monitorExit:(Ljava/lang/Object;)V
6: aload 2
invokestatic com.oracle.svm.jni.JNIThreadOwnedMonitors.exited:(Ljava/lang/Object;)V
7: invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_OK:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 env Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
0 8 1 handle Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
1 8 2 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.c.function.CEntryPoint(exceptionHandler = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIExceptionHandlerReturnJniErr;)
com.oracle.svm.core.c.function.CEntryPointOptions(prologue = Lcom/oracle/svm/jni/functions/JNIFunctions$Support$JNIEnvEnterReturnEDetachedOnFailurePrologue;, publishAs = com.oracle.svm.core.c.function.CEntryPointOptions$Publish.NotPublished:Lcom/oracle/svm/core/c/function/CEntryPointOptions$Publish;, include = Lcom/oracle/svm/core/c/function/CEntryPointOptions$NotIncludedAutomatically;)
MethodParameters:
Name Flags
env
handle
}
SourceFile: "JNIFunctions.java"
NestMembers:
com.oracle.svm.jni.functions.JNIFunctions$JNIEnvUnimplementedPrologue com.oracle.svm.jni.functions.JNIFunctions$JNIJavaVMUnimplementedPrologue com.oracle.svm.jni.functions.JNIFunctions$NewObjectWithObjectArrayArgFunctionPointer com.oracle.svm.jni.functions.JNIFunctions$Support com.oracle.svm.jni.functions.JNIFunctions$Support$JNIEnvEnterFatalOnFailurePrologue com.oracle.svm.jni.functions.JNIFunctions$Support$JNIEnvEnterReturnEDetachedOnFailurePrologue com.oracle.svm.jni.functions.JNIFunctions$Support$JNIEnvEnterReturnMinusOneOnFailurePrologue com.oracle.svm.jni.functions.JNIFunctions$Support$JNIEnvEnterReturnNullHandleOnFailurePrologue com.oracle.svm.jni.functions.JNIFunctions$Support$JNIEnvEnterReturnNullWordOnFailurePrologue com.oracle.svm.jni.functions.JNIFunctions$Support$JNIExceptionHandlerReturnFalse com.oracle.svm.jni.functions.JNIFunctions$Support$JNIExceptionHandlerReturnJniErr com.oracle.svm.jni.functions.JNIFunctions$Support$JNIExceptionHandlerReturnMinusOne com.oracle.svm.jni.functions.JNIFunctions$Support$JNIExceptionHandlerReturnNullHandle com.oracle.svm.jni.functions.JNIFunctions$Support$JNIExceptionHandlerReturnNullWord com.oracle.svm.jni.functions.JNIFunctions$Support$JNIExceptionHandlerReturnZero com.oracle.svm.jni.functions.JNIFunctions$Support$JNIExceptionHandlerVoid com.oracle.svm.jni.functions.JNIFunctions$Support$JNIJavaVMEnterAttachThreadEnsureJavaThreadPrologue com.oracle.svm.jni.functions.JNIFunctions$Support$JNIJavaVMEnterAttachThreadManualJavaThreadPrologue com.oracle.svm.jni.functions.JNIFunctions$Target_java_nio_Buffer com.oracle.svm.jni.functions.JNIFunctions$Target_java_nio_DirectByteBuffer com.oracle.svm.jni.functions.JNIFunctions$UnimplementedWithJNIEnvArgument com.oracle.svm.jni.functions.JNIFunctions$UnimplementedWithJavaVMArgument
InnerClasses:
public final Publish = com.oracle.svm.core.c.function.CEntryPointOptions$Publish of com.oracle.svm.core.c.function.CEntryPointOptions
public StatusSupport = com.oracle.svm.core.thread.VMThreads$StatusSupport of com.oracle.svm.core.thread.VMThreads
JNIEnvUnimplementedPrologue = com.oracle.svm.jni.functions.JNIFunctions$JNIEnvUnimplementedPrologue of com.oracle.svm.jni.functions.JNIFunctions
JNIJavaVMUnimplementedPrologue = com.oracle.svm.jni.functions.JNIFunctions$JNIJavaVMUnimplementedPrologue of com.oracle.svm.jni.functions.JNIFunctions
abstract NewObjectWithObjectArrayArgFunctionPointer = com.oracle.svm.jni.functions.JNIFunctions$NewObjectWithObjectArrayArgFunctionPointer of com.oracle.svm.jni.functions.JNIFunctions
Support = com.oracle.svm.jni.functions.JNIFunctions$Support of com.oracle.svm.jni.functions.JNIFunctions
final Target_java_nio_Buffer = com.oracle.svm.jni.functions.JNIFunctions$Target_java_nio_Buffer of com.oracle.svm.jni.functions.JNIFunctions
final Target_java_nio_DirectByteBuffer = com.oracle.svm.jni.functions.JNIFunctions$Target_java_nio_DirectByteBuffer of com.oracle.svm.jni.functions.JNIFunctions
UnimplementedWithJNIEnvArgument = com.oracle.svm.jni.functions.JNIFunctions$UnimplementedWithJNIEnvArgument of com.oracle.svm.jni.functions.JNIFunctions
UnimplementedWithJavaVMArgument = com.oracle.svm.jni.functions.JNIFunctions$UnimplementedWithJavaVMArgument of com.oracle.svm.jni.functions.JNIFunctions
public abstract NewObjectAFunctionPointer = com.oracle.svm.jni.nativeapi.JNIFunctionPointerTypes$NewObjectAFunctionPointer of com.oracle.svm.jni.nativeapi.JNIFunctionPointerTypes