final class com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode extends com.oracle.truffle.polyglot.HostToGuestRootNode
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode
  super_class: com.oracle.truffle.polyglot.HostToGuestRootNode
{
  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 100
            ldc Lcom/oracle/truffle/polyglot/PolyglotThread;
            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.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(com.oracle.truffle.polyglot.PolyglotLanguageContext);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
        start local 1 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
         0: .line 103
            aload 0 /* this */
            aload 1 /* languageContext */
            invokespecial com.oracle.truffle.polyglot.HostToGuestRootNode.<init>:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
         1: .line 104
            return
        end local 1 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        end local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    2     0             this  Lcom/oracle/truffle/polyglot/PolyglotThread$ThreadSpawnRootNode;
            0    2     1  languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
    MethodParameters:
                 Name  Flags
      languageContext  

  protected java.lang.Class<?> getReceiverType();
    descriptor: ()Ljava/lang/Class;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
         0: .line 108
            ldc Lcom/oracle/truffle/polyglot/PolyglotThread;
            areturn
        end local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/PolyglotThread$ThreadSpawnRootNode;
    Signature: ()Ljava/lang/Class<*>;

  protected boolean needsEnter();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
         0: .line 113
            iconst_0
            ireturn
        end local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/PolyglotThread$ThreadSpawnRootNode;

  protected boolean needsExceptionWrapping();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
         0: .line 118
            iconst_0
            ireturn
        end local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/PolyglotThread$ThreadSpawnRootNode;

  public boolean isInternal();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
         0: .line 123
            iconst_1
            ireturn
        end local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/PolyglotThread$ThreadSpawnRootNode;

  protected java.lang.Object executeImpl(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.Object[]);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=8, args_size=4
        start local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
        start local 1 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        start local 2 // java.lang.Object receiver
        start local 3 // java.lang.Object[] args
         0: .line 129
            aload 2 /* receiver */
            checkcast com.oracle.truffle.polyglot.PolyglotThread
            astore 4 /* thread */
        start local 4 // com.oracle.truffle.polyglot.PolyglotThread thread
         1: .line 130
            aload 3 /* args */
            iconst_2
            aaload
            checkcast com.oracle.truffle.polyglot.PolyglotThread$PolyglotThreadRunnable
            astore 5 /* run */
        start local 5 // com.oracle.truffle.polyglot.PolyglotThread$PolyglotThreadRunnable run
         2: .line 134
            aload 1 /* languageContext */
            aload 4 /* thread */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.enterThread:(Lcom/oracle/truffle/polyglot/PolyglotThread;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
            astore 6 /* prev */
        start local 6 // com.oracle.truffle.polyglot.PolyglotContextImpl prev
         3: .line 135
            goto 8
        end local 6 // com.oracle.truffle.polyglot.PolyglotContextImpl prev
      StackMap locals: com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode com.oracle.truffle.polyglot.PolyglotLanguageContext java.lang.Object java.lang.Object[] com.oracle.truffle.polyglot.PolyglotThread com.oracle.truffle.polyglot.PolyglotThread$PolyglotThreadRunnable
      StackMap stack: com.oracle.truffle.polyglot.PolyglotEngineException
         4: astore 7 /* polyglotException */
        start local 7 // com.oracle.truffle.polyglot.PolyglotEngineException polyglotException
         5: .line 136
            aload 7 /* polyglotException */
            getfield com.oracle.truffle.polyglot.PolyglotEngineException.closingContext:Z
            ifeq 7
         6: .line 137
            aconst_null
            areturn
         7: .line 139
      StackMap locals: com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode com.oracle.truffle.polyglot.PolyglotLanguageContext java.lang.Object java.lang.Object[] com.oracle.truffle.polyglot.PolyglotThread com.oracle.truffle.polyglot.PolyglotThread$PolyglotThreadRunnable top com.oracle.truffle.polyglot.PolyglotEngineException
      StackMap stack:
            aload 7 /* polyglotException */
            athrow
        end local 7 // com.oracle.truffle.polyglot.PolyglotEngineException polyglotException
        start local 6 // com.oracle.truffle.polyglot.PolyglotContextImpl prev
         8: .line 142
      StackMap locals: com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode com.oracle.truffle.polyglot.PolyglotLanguageContext java.lang.Object java.lang.Object[] com.oracle.truffle.polyglot.PolyglotThread com.oracle.truffle.polyglot.PolyglotThread$PolyglotThreadRunnable com.oracle.truffle.polyglot.PolyglotContextImpl
      StackMap stack:
            getstatic com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode.$assertionsDisabled:Z
            ifne 9
            aload 6 /* prev */
            ifnull 9
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         9: .line 144
      StackMap locals:
      StackMap stack:
            aload 5 /* run */
            invokeinterface com.oracle.truffle.polyglot.PolyglotThread$PolyglotThreadRunnable.execute:()V
        10: .line 145
            goto 14
      StackMap locals:
      StackMap stack: java.lang.Throwable
        11: astore 7
        12: .line 146
            aload 1 /* languageContext */
            aload 6 /* prev */
            aload 4 /* thread */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.leaveThread:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;Lcom/oracle/truffle/polyglot/PolyglotThread;)V
        13: .line 147
            aload 7
            athrow
        14: .line 146
      StackMap locals:
      StackMap stack:
            aload 1 /* languageContext */
            aload 6 /* prev */
            aload 4 /* thread */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.leaveThread:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;Lcom/oracle/truffle/polyglot/PolyglotThread;)V
        15: .line 148
            aconst_null
            areturn
        end local 6 // com.oracle.truffle.polyglot.PolyglotContextImpl prev
        end local 5 // com.oracle.truffle.polyglot.PolyglotThread$PolyglotThreadRunnable run
        end local 4 // com.oracle.truffle.polyglot.PolyglotThread thread
        end local 3 // java.lang.Object[] args
        end local 2 // java.lang.Object receiver
        end local 1 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        end local 0 // com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   16     0               this  Lcom/oracle/truffle/polyglot/PolyglotThread$ThreadSpawnRootNode;
            0   16     1    languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            0   16     2           receiver  Ljava/lang/Object;
            0   16     3               args  [Ljava/lang/Object;
            1   16     4             thread  Lcom/oracle/truffle/polyglot/PolyglotThread;
            2   16     5                run  Lcom/oracle/truffle/polyglot/PolyglotThread$PolyglotThreadRunnable;
            3    4     6               prev  Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
            8   16     6               prev  Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
            5    8     7  polyglotException  Lcom/oracle/truffle/polyglot/PolyglotEngineException;
      Exception table:
        from    to  target  type
           2     3       4  Class com.oracle.truffle.polyglot.PolyglotEngineException
           9    11      11  any
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
                 Name  Flags
      languageContext  
      receiver         
      args             

  public static com.oracle.truffle.api.CallTarget lookup(com.oracle.truffle.polyglot.PolyglotLanguageContext);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)Lcom/oracle/truffle/api/CallTarget;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
         0: .line 152
            aload 0 /* languageContext */
            ldc Lcom/oracle/truffle/polyglot/PolyglotThread$ThreadSpawnRootNode;
            ldc Lcom/oracle/truffle/api/CallTarget;
            invokestatic com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode.lookupHostCodeCache:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.CallTarget
            astore 1 /* target */
        start local 1 // com.oracle.truffle.api.CallTarget target
         1: .line 153
            aload 1 /* target */
            ifnonnull 3
         2: .line 154
            aload 0 /* languageContext */
            ldc Lcom/oracle/truffle/polyglot/PolyglotThread$ThreadSpawnRootNode;
            new com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode
            dup
            aload 0 /* languageContext */
            invokespecial com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode.<init>:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
            invokestatic com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode.createTarget:(Lcom/oracle/truffle/polyglot/HostToGuestRootNode;)Lcom/oracle/truffle/api/CallTarget;
            ldc Lcom/oracle/truffle/api/CallTarget;
            invokestatic com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode.installHostCodeCache:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.CallTarget
            astore 1 /* target */
         3: .line 156
      StackMap locals: com.oracle.truffle.api.CallTarget
      StackMap stack:
            aload 1 /* target */
            areturn
        end local 1 // com.oracle.truffle.api.CallTarget target
        end local 0 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    4     0  languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            1    4     1           target  Lcom/oracle/truffle/api/CallTarget;
    MethodParameters:
                 Name  Flags
      languageContext  
}
SourceFile: "PolyglotThread.java"
NestHost: com.oracle.truffle.polyglot.PolyglotThread
InnerClasses:
  public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
  private abstract PolyglotThreadRunnable = com.oracle.truffle.polyglot.PolyglotThread$PolyglotThreadRunnable of com.oracle.truffle.polyglot.PolyglotThread
  private final ThreadSpawnRootNode = com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode of com.oracle.truffle.polyglot.PolyglotThread