class com.oracle.svm.jni.functions.JNIInvocationInterface$Support
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.svm.jni.functions.JNIInvocationInterface$Support
super_class: java.lang.Object
{
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/JNIInvocationInterface;
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.JNIInvocationInterface$Support.$assertionsDisabled:Z
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/JNIInvocationInterface$Support;
static int attachCurrentThread(com.oracle.svm.jni.nativeapi.JNIJavaVM, com.oracle.svm.jni.nativeapi.JNIEnvironmentPointer, com.oracle.svm.jni.nativeapi.JNIJavaVMAttachArgs, boolean);
descriptor: (Lcom/oracle/svm/jni/nativeapi/JNIJavaVM;Lcom/oracle/svm/jni/nativeapi/JNIEnvironmentPointer;Lcom/oracle/svm/jni/nativeapi/JNIJavaVMAttachArgs;Z)I
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 0
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.JNIJavaVM.equal:(Lorg/graalvm/word/ComparableWord;)Z
ifeq 9
1: aload 1
invokestatic com.oracle.svm.jni.JNIThreadLocalEnvironment.getAddress:()Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;
invokeinterface com.oracle.svm.jni.nativeapi.JNIEnvironmentPointer.write:(Lcom/oracle/svm/jni/nativeapi/JNIEnvironment;)V
2: aconst_null
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: aload 2
invokeinterface com.oracle.svm.jni.nativeapi.JNIJavaVMAttachArgs.isNonNull:()Z
ifeq 7
aload 2
invokeinterface com.oracle.svm.jni.nativeapi.JNIJavaVMAttachArgs.getVersion:()I
invokestatic com.oracle.svm.jni.nativeapi.JNIVersion.JNI_VERSION_1_1:()I
if_icmpeq 7
5: aload 2
invokeinterface com.oracle.svm.jni.nativeapi.JNIJavaVMAttachArgs.getGroup:()Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;
invokestatic com.oracle.svm.jni.JNIObjectHandles.getObject:(Lcom/oracle/svm/jni/nativeapi/JNIObjectHandle;)Ljava/lang/Object;
checkcast java.lang.ThreadGroup
astore 4
6: aload 2
invokeinterface com.oracle.svm.jni.nativeapi.JNIJavaVMAttachArgs.getName:()Lorg/graalvm/nativeimage/c/type/CCharPointer;
invokestatic com.oracle.svm.core.util.Utf8.utf8ToString:(Lorg/graalvm/nativeimage/c/type/CCharPointer;)Ljava/lang/String;
astore 5
7: StackMap locals: java.lang.ThreadGroup java.lang.String
StackMap stack:
aload 5
aload 4
iload 3
invokestatic com.oracle.svm.core.thread.JavaThreads.ensureJavaThread:(Ljava/lang/String;Ljava/lang/ThreadGroup;Z)Z
pop
8: invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_OK:()I
ireturn
end local 5 end local 4 9: StackMap locals:
StackMap stack:
invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_ERR:()I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 vm Lcom/oracle/svm/jni/nativeapi/JNIJavaVM;
0 10 1 penv Lcom/oracle/svm/jni/nativeapi/JNIEnvironmentPointer;
0 10 2 args Lcom/oracle/svm/jni/nativeapi/JNIJavaVMAttachArgs;
0 10 3 asDaemon Z
3 9 4 group Ljava/lang/ThreadGroup;
4 9 5 name Ljava/lang/String;
MethodParameters:
Name Flags
vm
penv
args
asDaemon
static void releaseCurrentThreadOwnedMonitors();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic accept()Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
com/oracle/svm/jni/functions/JNIInvocationInterface$Support.lambda$0(Ljava/lang/Object;Ljava/lang/Integer;)V (6)
(Ljava/lang/Object;Ljava/lang/Integer;)V
invokestatic com.oracle.svm.jni.JNIThreadOwnedMonitors.forEach:(Ljava/util/function/BiConsumer;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.svm.jni.nativeapi.JNIJavaVM getGlobalJavaVM();
descriptor: ()Lcom/oracle/svm/jni/nativeapi/JNIJavaVM;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: 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;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$0(java.lang.Object, java.lang.Integer);
descriptor: (Ljava/lang/Object;Ljava/lang/Integer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
invokestatic com.oracle.svm.core.monitor.MonitorSupport.singleton:()Lcom/oracle/svm/core/monitor/MonitorSupport;
aload 0
invokevirtual com.oracle.svm.core.monitor.MonitorSupport.monitorExit:(Ljava/lang/Object;)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 1
invokevirtual java.lang.Integer.intValue:()I
if_icmplt 2
end local 2 5: getstatic com.oracle.svm.jni.functions.JNIInvocationInterface$Support.$assertionsDisabled:Z
ifne 6
aload 0
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifeq 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 obj Ljava/lang/Object;
0 7 1 depth Ljava/lang/Integer;
1 5 2 i I
}
SourceFile: "JNIInvocationInterface.java"
NestHost: com.oracle.svm.jni.functions.JNIInvocationInterface
InnerClasses:
Support = com.oracle.svm.jni.functions.JNIInvocationInterface$Support of com.oracle.svm.jni.functions.JNIInvocationInterface
JNIGetEnvPrologue = com.oracle.svm.jni.functions.JNIInvocationInterface$Support$JNIGetEnvPrologue of com.oracle.svm.jni.functions.JNIInvocationInterface$Support
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles