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: .line 281
            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 // com.oracle.svm.jni.functions.JNIInvocationInterface$Support this
         0: .line 281
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.oracle.svm.jni.functions.JNIInvocationInterface$Support this
      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 // com.oracle.svm.jni.nativeapi.JNIJavaVM vm
        start local 1 // com.oracle.svm.jni.nativeapi.JNIEnvironmentPointer penv
        start local 2 // com.oracle.svm.jni.nativeapi.JNIJavaVMAttachArgs args
        start local 3 // boolean asDaemon
         0: .line 304
            aload 0 /* vm */
            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: .line 305
            aload 1 /* penv */
            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: .line 306
            aconst_null
            astore 4 /* group */
        start local 4 // java.lang.ThreadGroup group
         3: .line 307
            aconst_null
            astore 5 /* name */
        start local 5 // java.lang.String name
         4: .line 308
            aload 2 /* args */
            invokeinterface com.oracle.svm.jni.nativeapi.JNIJavaVMAttachArgs.isNonNull:()Z
            ifeq 7
            aload 2 /* args */
            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: .line 309
            aload 2 /* args */
            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 /* group */
         6: .line 310
            aload 2 /* args */
            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 /* name */
         7: .line 320
      StackMap locals: java.lang.ThreadGroup java.lang.String
      StackMap stack:
            aload 5 /* name */
            aload 4 /* group */
            iload 3 /* asDaemon */
            invokestatic com.oracle.svm.core.thread.JavaThreads.ensureJavaThread:(Ljava/lang/String;Ljava/lang/ThreadGroup;Z)Z
            pop
         8: .line 322
            invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_OK:()I
            ireturn
        end local 5 // java.lang.String name
        end local 4 // java.lang.ThreadGroup group
         9: .line 324
      StackMap locals:
      StackMap stack:
            invokestatic com.oracle.svm.jni.nativeapi.JNIErrors.JNI_ERR:()I
            ireturn
        end local 3 // boolean asDaemon
        end local 2 // com.oracle.svm.jni.nativeapi.JNIJavaVMAttachArgs args
        end local 1 // com.oracle.svm.jni.nativeapi.JNIEnvironmentPointer penv
        end local 0 // com.oracle.svm.jni.nativeapi.JNIJavaVM vm
      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: .line 328
            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: .line 334
            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: .line 337
            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 // java.lang.Object obj
        start local 1 // java.lang.Integer depth
         0: .line 329
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         1: goto 4
         2: .line 330
      StackMap locals: int
      StackMap stack:
            invokestatic com.oracle.svm.core.monitor.MonitorSupport.singleton:()Lcom/oracle/svm/core/monitor/MonitorSupport;
            aload 0 /* obj */
            invokevirtual com.oracle.svm.core.monitor.MonitorSupport.monitorExit:(Ljava/lang/Object;)V
         3: .line 329
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         4: iload 2 /* i */
            aload 1 /* depth */
            invokevirtual java.lang.Integer.intValue:()I
            if_icmplt 2
        end local 2 // int i
         5: .line 332
            getstatic com.oracle.svm.jni.functions.JNIInvocationInterface$Support.$assertionsDisabled:Z
            ifne 6
            aload 0 /* obj */
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifeq 6
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         6: .line 333
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Integer depth
        end local 0 // java.lang.Object obj
      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