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: 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 start local 1 0: aload 0
aload 1
invokespecial com.oracle.truffle.polyglot.HostToGuestRootNode.<init>:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
1: return
end local 1 end local 0 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 0: ldc Lcom/oracle/truffle/polyglot/PolyglotThread;
areturn
end local 0 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 0: iconst_0
ireturn
end local 0 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 0: iconst_0
ireturn
end local 0 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 0: iconst_1
ireturn
end local 0 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 start local 1 start local 2 start local 3 0: aload 2
checkcast com.oracle.truffle.polyglot.PolyglotThread
astore 4
start local 4 1: aload 3
iconst_2
aaload
checkcast com.oracle.truffle.polyglot.PolyglotThread$PolyglotThreadRunnable
astore 5
start local 5 2: aload 1
aload 4
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.enterThread:(Lcom/oracle/truffle/polyglot/PolyglotThread;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 6
start local 6 3: goto 8
end local 6 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
start local 7 5: aload 7
getfield com.oracle.truffle.polyglot.PolyglotEngineException.closingContext:Z
ifeq 7
6: aconst_null
areturn
7: 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
athrow
end local 7 start local 6 8: 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
ifnull 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
aload 5
invokeinterface com.oracle.truffle.polyglot.PolyglotThread$PolyglotThreadRunnable.execute:()V
10: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 7
12: aload 1
aload 6
aload 4
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.leaveThread:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;Lcom/oracle/truffle/polyglot/PolyglotThread;)V
13: aload 7
athrow
14: StackMap locals:
StackMap stack:
aload 1
aload 6
aload 4
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.leaveThread:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;Lcom/oracle/truffle/polyglot/PolyglotThread;)V
15: aconst_null
areturn
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 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 0: aload 0
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
start local 1 1: aload 1
ifnonnull 3
2: aload 0
ldc Lcom/oracle/truffle/polyglot/PolyglotThread$ThreadSpawnRootNode;
new com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode
dup
aload 0
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
3: StackMap locals: com.oracle.truffle.api.CallTarget
StackMap stack:
aload 1
areturn
end local 1 end local 0 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