public class com.oracle.truffle.js.test.polyglot.TestLanguage extends com.oracle.truffle.api.TruffleLanguage<com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.test.polyglot.TestLanguage
super_class: com.oracle.truffle.api.TruffleLanguage
{
public static final java.lang.String ID;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jsTestLanguage"
private static volatile com.oracle.truffle.js.test.polyglot.TestLanguage delegate;
descriptor: Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
protected final boolean wrapper;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected com.oracle.truffle.js.test.polyglot.TestLanguage languageInstance;
descriptor: Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
flags: (0x0004) ACC_PROTECTED
private java.util.function.Consumer<com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext> onCreate;
descriptor: Ljava/util/function/Consumer;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/function/Consumer<Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.oracle.truffle.js.test.polyglot.TestLanguage
dup
iconst_0
invokespecial com.oracle.truffle.js.test.polyglot.TestLanguage.<init>:(Z)V
putstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.TruffleLanguage.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
if_acmpne 2
iconst_1
goto 3
StackMap locals: com.oracle.truffle.js.test.polyglot.TestLanguage
StackMap stack: com.oracle.truffle.js.test.polyglot.TestLanguage
2: iconst_0
StackMap locals: com.oracle.truffle.js.test.polyglot.TestLanguage
StackMap stack: com.oracle.truffle.js.test.polyglot.TestLanguage int
3: putfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
private void <init>(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.truffle.api.TruffleLanguage.<init>:()V
1: aload 0
iload 1
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 3 1 wrapper Z
MethodParameters:
Name Flags
wrapper
private static <T extends com.oracle.truffle.js.test.polyglot.TestLanguage> T setDelegate();
descriptor: (Lcom/oracle/truffle/js/test/polyglot/TestLanguage;)Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 delegate TT;
Signature: <T:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;>(TT;)TT;
MethodParameters:
Name Flags
delegate
public void setOnCreate(java.util.function.Consumer<com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.onCreate:Ljava/util/function/Consumer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 2 1 onCreate Ljava/util/function/Consumer<Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;>;
Signature: (Ljava/util/function/Consumer<Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;>;)V
MethodParameters:
Name Flags
onCreate
public static java.lang.AutoCloseable withTestLanguage(com.oracle.truffle.js.test.polyglot.TestLanguage);
descriptor: (Lcom/oracle/truffle/js/test/polyglot/TestLanguage;)Ljava/lang/AutoCloseable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.js.test.polyglot.TestLanguage.setDelegate:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage;)Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
pop
1: invokedynamic close()Ljava/lang/AutoCloseable;
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:
()V
com/oracle/truffle/js/test/polyglot/TestLanguage.lambda$0()V (6)
()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 testLanguage Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
MethodParameters:
Name Flags
testLanguage
public static com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext getCurrentContext();
descriptor: ()Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
invokestatic com.oracle.truffle.js.test.polyglot.TestLanguage.getCurrentContext:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext getCurrentLanguageContext(java.lang.Class<? extends com.oracle.truffle.js.test.polyglot.TestLanguage>);
descriptor: (Ljava/lang/Class;)Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.js.test.polyglot.TestLanguage.getCurrentContext:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 languageClass Ljava/lang/Class<+Lcom/oracle/truffle/js/test/polyglot/TestLanguage;>;
Signature: (Ljava/lang/Class<+Lcom/oracle/truffle/js/test/polyglot/TestLanguage;>;)Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
MethodParameters:
Name Flags
languageClass
public static com.oracle.truffle.js.test.polyglot.TestLanguage getCurrentLanguage();
descriptor: ()Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
invokestatic com.oracle.truffle.js.test.polyglot.TestLanguage.getCurrentLanguage:(Ljava/lang/Class;)Lcom/oracle/truffle/api/TruffleLanguage;
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage
areturn
LocalVariableTable:
Start End Slot Name Signature
protected com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext createContext(com.oracle.truffle.api.TruffleLanguage$Env);
descriptor: (Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 3
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.createContext:(Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
areturn
3: StackMap locals:
StackMap stack:
new com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
dup
aload 1
invokespecial com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext.<init>:(Lcom/oracle/truffle/api/TruffleLanguage$Env;)V
astore 2
start local 2 4: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.onCreate:Ljava/util/function/Consumer;
ifnull 6
5: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.onCreate:Ljava/util/function/Consumer;
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
6: StackMap locals: com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 7 1 env Lcom/oracle/truffle/api/TruffleLanguage$Env;
4 7 2 c Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
MethodParameters:
Name Flags
env
protected void finalizeContext(com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext);
descriptor: (Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 3
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.finalizeContext:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.oracle.truffle.api.TruffleLanguage.finalizeContext:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 5 1 context Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
MethodParameters:
Name Flags
context
protected void disposeContext(com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext);
descriptor: (Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 4
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.disposeContext:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.oracle.truffle.api.TruffleLanguage.disposeContext:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 6 1 context Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
MethodParameters:
Name Flags
context
protected void disposeThread(com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext, java.lang.Thread);
descriptor: (Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;Ljava/lang/Thread;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 4
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
aload 2
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.disposeThread:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;Ljava/lang/Thread;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.api.TruffleLanguage.disposeThread:(Ljava/lang/Object;Ljava/lang/Thread;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 6 1 context Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
0 6 2 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
context
thread
protected void initializeContext(com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext);
descriptor: (Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 4
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.initializeContext:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.oracle.truffle.api.TruffleLanguage.initializeContext:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 6 1 context Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
context
protected void initializeMultipleContexts();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 4
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.initializeMultipleContexts:()V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
invokespecial com.oracle.truffle.api.TruffleLanguage.initializeMultipleContexts:()V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
protected void initializeMultiThreading(com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext);
descriptor: (Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 4
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.initializeMultiThreading:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.oracle.truffle.api.TruffleLanguage.initializeMultiThreading:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 6 1 context Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
MethodParameters:
Name Flags
context
protected void initializeThread(com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext, java.lang.Thread);
descriptor: (Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;Ljava/lang/Thread;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 4
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
aload 2
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.initializeThread:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;Ljava/lang/Thread;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.api.TruffleLanguage.initializeThread:(Ljava/lang/Object;Ljava/lang/Thread;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 6 1 context Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
0 6 2 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
context
thread
protected boolean isThreadAccessAllowed(java.lang.Thread, boolean);
descriptor: (Ljava/lang/Thread;Z)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 3
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
iload 2
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.isThreadAccessAllowed:(Ljava/lang/Thread;Z)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokespecial com.oracle.truffle.api.TruffleLanguage.isThreadAccessAllowed:(Ljava/lang/Thread;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 4 1 thread Ljava/lang/Thread;
0 4 2 singleThreaded Z
MethodParameters:
Name Flags
thread
singleThreaded
protected boolean isVisible(com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext, java.lang.Object);
descriptor: (Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 3
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
aload 2
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.isVisible:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;Ljava/lang/Object;)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.api.TruffleLanguage.isVisible:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 4 1 context Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
0 4 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
context
value
protected org.graalvm.options.OptionDescriptors getOptionDescriptors();
descriptor: ()Lorg/graalvm/options/OptionDescriptors;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 3
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.getOptionDescriptors:()Lorg/graalvm/options/OptionDescriptors;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokespecial com.oracle.truffle.api.TruffleLanguage.getOptionDescriptors:()Lorg/graalvm/options/OptionDescriptors;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
protected com.oracle.truffle.api.CallTarget parse(com.oracle.truffle.api.TruffleLanguage$ParsingRequest);
descriptor: (Lcom/oracle/truffle/api/TruffleLanguage$ParsingRequest;)Lcom/oracle/truffle/api/CallTarget;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 3
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.parse:(Lcom/oracle/truffle/api/TruffleLanguage$ParsingRequest;)Lcom/oracle/truffle/api/CallTarget;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.oracle.truffle.api.TruffleLanguage.parse:(Lcom/oracle/truffle/api/TruffleLanguage$ParsingRequest;)Lcom/oracle/truffle/api/CallTarget;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 4 1 request Lcom/oracle/truffle/api/TruffleLanguage$ParsingRequest;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
request
protected java.lang.Object getScope(com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext);
descriptor: (Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 3
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.getScope:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)Ljava/lang/Object;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.oracle.truffle.api.TruffleLanguage.getScope:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 4 1 context Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
MethodParameters:
Name Flags
context
protected com.oracle.truffle.api.nodes.ExecutableNode parse(com.oracle.truffle.api.TruffleLanguage$InlineParsingRequest);
descriptor: (Lcom/oracle/truffle/api/TruffleLanguage$InlineParsingRequest;)Lcom/oracle/truffle/api/nodes/ExecutableNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.test.polyglot.TestLanguage.wrapper:Z
ifeq 3
1: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 0
putfield com.oracle.truffle.js.test.polyglot.TestLanguage.languageInstance:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
2: getstatic com.oracle.truffle.js.test.polyglot.TestLanguage.delegate:Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
aload 1
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.parse:(Lcom/oracle/truffle/api/TruffleLanguage$InlineParsingRequest;)Lcom/oracle/truffle/api/nodes/ExecutableNode;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.oracle.truffle.api.TruffleLanguage.parse:(Lcom/oracle/truffle/api/TruffleLanguage$InlineParsingRequest;)Lcom/oracle/truffle/api/nodes/ExecutableNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
0 4 1 request Lcom/oracle/truffle/api/TruffleLanguage$InlineParsingRequest;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
request
protected java.lang.Object createContext(com.oracle.truffle.api.TruffleLanguage$Env);
descriptor: (Lcom/oracle/truffle/api/TruffleLanguage$Env;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.createContext:(Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected void initializeThread(java.lang.Object, java.lang.Thread);
descriptor: (Ljava/lang/Object;Ljava/lang/Thread;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
aload 2
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.initializeThread:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;Ljava/lang/Thread;)V
return
LocalVariableTable:
Start End Slot Name Signature
protected void disposeThread(java.lang.Object, java.lang.Thread);
descriptor: (Ljava/lang/Object;Ljava/lang/Thread;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
aload 2
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.disposeThread:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;Ljava/lang/Thread;)V
return
LocalVariableTable:
Start End Slot Name Signature
protected void initializeMultiThreading(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.initializeMultiThreading:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
protected void initializeContext(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.initializeContext:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
protected boolean isVisible(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
aload 2
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.isVisible:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;Ljava/lang/Object;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
protected void disposeContext(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.disposeContext:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
protected java.lang.Object getScope(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.getScope:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected void finalizeContext(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
invokevirtual com.oracle.truffle.js.test.polyglot.TestLanguage.finalizeContext:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$0();
descriptor: ()V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
invokestatic com.oracle.truffle.js.test.polyglot.TestLanguage.setDelegate:(Lcom/oracle/truffle/js/test/polyglot/TestLanguage;)Lcom/oracle/truffle/js/test/polyglot/TestLanguage;
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Lcom/oracle/truffle/api/TruffleLanguage<Lcom/oracle/truffle/js/test/polyglot/TestLanguage$LanguageContext;>;
SourceFile: "TestLanguage.java"
NestMembers:
com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext
InnerClasses:
public final ContextPolicy = com.oracle.truffle.api.TruffleLanguage$ContextPolicy of com.oracle.truffle.api.TruffleLanguage
public final Env = com.oracle.truffle.api.TruffleLanguage$Env of com.oracle.truffle.api.TruffleLanguage
public final InlineParsingRequest = com.oracle.truffle.api.TruffleLanguage$InlineParsingRequest of com.oracle.truffle.api.TruffleLanguage
public final ParsingRequest = com.oracle.truffle.api.TruffleLanguage$ParsingRequest of com.oracle.truffle.api.TruffleLanguage
public abstract Registration = com.oracle.truffle.api.TruffleLanguage$Registration of com.oracle.truffle.api.TruffleLanguage
public LanguageContext = com.oracle.truffle.js.test.polyglot.TestLanguage$LanguageContext of com.oracle.truffle.js.test.polyglot.TestLanguage
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
com.oracle.truffle.api.TruffleLanguage$Registration(id = "jsTestLanguage", name = "jsTestLanguage", version = "1.0", contextPolicy = com.oracle.truffle.api.TruffleLanguage$ContextPolicy.SHARED:Lcom/oracle/truffle/api/TruffleLanguage$ContextPolicy;)
com.oracle.truffle.api.instrumentation.ProvidedTags(value = {Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;, Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;, Lcom/oracle/truffle/api/instrumentation/StandardTags$RootTag;})