final class com.oracle.truffle.polyglot.PolyglotLocals
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.polyglot.PolyglotLocals
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/truffle/polyglot/PolyglotLocals;
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.PolyglotLocals.$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/truffle/polyglot/PolyglotLocals;
static <T> com.oracle.truffle.api.ContextLocal<T> createLanguageContextLocal();
descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/api/ContextLocal;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextLocal
dup
aload 0
invokespecial com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextLocal.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 factory Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;)Lcom/oracle/truffle/api/ContextLocal<TT;>;
MethodParameters:
Name Flags
factory
static <T> com.oracle.truffle.api.ContextLocal<T> createInstrumentContextLocal();
descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/api/ContextLocal;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextLocal
dup
aload 0
invokespecial com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextLocal.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 factory Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;)Lcom/oracle/truffle/api/ContextLocal<TT;>;
MethodParameters:
Name Flags
factory
static <T> com.oracle.truffle.api.ContextThreadLocal<T> createLanguageContextThreadLocal();
descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/api/ContextThreadLocal;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextThreadLocal
dup
aload 0
invokespecial com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextThreadLocal.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 factory Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;)Lcom/oracle/truffle/api/ContextThreadLocal<TT;>;
MethodParameters:
Name Flags
factory
static <T> com.oracle.truffle.api.ContextThreadLocal<T> createInstrumentContextThreadLocal();
descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/api/ContextThreadLocal;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextThreadLocal
dup
aload 0
invokespecial com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextThreadLocal.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 factory Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;)Lcom/oracle/truffle/api/ContextThreadLocal<TT;>;
MethodParameters:
Name Flags
factory
static void initializeInstrumentContextLocals(java.util.List<com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextLocal<?>>, com.oracle.truffle.polyglot.PolyglotInstrument);
descriptor: (Ljava/util/List;Lcom/oracle/truffle/polyglot/PolyglotInstrument;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
1: getstatic com.oracle.truffle.polyglot.PolyglotEngineImpl.EMPTY_LOCATIONS:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
astore 2
start local 2 2: goto 8
end local 2 3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: java.util.List com.oracle.truffle.polyglot.PolyglotInstrument top top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextLocal
astore 3
start local 3 5: aload 3
aload 1
putfield com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextLocal.instrument:Lcom/oracle/truffle/polyglot/PolyglotInstrument;
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
getfield com.oracle.truffle.polyglot.PolyglotInstrument.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.addContextLocals:(Ljava/util/List;)[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
astore 2
start local 2 8: StackMap locals: java.util.List com.oracle.truffle.polyglot.PolyglotInstrument com.oracle.truffle.polyglot.PolyglotLocals$LocalLocation[]
StackMap stack:
aload 1
aload 2
putfield com.oracle.truffle.polyglot.PolyglotInstrument.contextLocalLocations:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 locals Ljava/util/List<Lcom/oracle/truffle/polyglot/PolyglotLocals$InstrumentContextLocal<*>;>;
0 10 1 polyglotInstrument Lcom/oracle/truffle/polyglot/PolyglotInstrument;
2 3 2 locations [Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
8 10 2 locations [Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
5 6 3 local Lcom/oracle/truffle/polyglot/PolyglotLocals$InstrumentContextLocal<*>;
Signature: (Ljava/util/List<Lcom/oracle/truffle/polyglot/PolyglotLocals$InstrumentContextLocal<*>;>;Lcom/oracle/truffle/polyglot/PolyglotInstrument;)V
MethodParameters:
Name Flags
locals
polyglotInstrument
static void initializeLanguageContextLocals(java.util.List<com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextLocal<?>>, com.oracle.truffle.polyglot.PolyglotLanguageInstance);
descriptor: (Ljava/util/List;Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
1: getstatic com.oracle.truffle.polyglot.PolyglotEngineImpl.EMPTY_LOCATIONS:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
astore 2
start local 2 2: goto 23
end local 2 3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: java.util.List com.oracle.truffle.polyglot.PolyglotLanguageInstance top top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextLocal
astore 3
start local 3 5: aload 3
aload 1
putfield com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextLocal.languageInstance:Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.language:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
getfield com.oracle.truffle.polyglot.PolyglotLanguage.previousContextLocalLocations:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
astore 2
start local 2 8: aload 2
ifnull 19
9: aload 0
invokeinterface java.util.List.size:()I
aload 2
arraylength
if_icmpeq 13
10: new java.lang.IllegalStateException
dup
ldc "Truffle language %s did not create the same number of context locals. Expected %s locals but were %s."
iconst_3
anewarray java.lang.Object
dup
iconst_0
11: aload 1
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.spi:Lcom/oracle/truffle/api/TruffleLanguage;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
12: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: java.util.List com.oracle.truffle.polyglot.PolyglotLanguageInstance com.oracle.truffle.polyglot.PolyglotLocals$LocalLocation[]
StackMap stack:
iconst_0
istore 3
start local 3 14: goto 17
15: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextLocal
aload 2
iload 3
aaload
invokevirtual com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextLocal.initializeLocation:(Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;)V
16: iinc 3 1
StackMap locals:
StackMap stack:
17: iload 3
aload 2
arraylength
if_icmplt 15
end local 3 18: goto 23
19: StackMap locals:
StackMap stack:
aload 1
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.language:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
astore 3
start local 3 20: aload 3
getfield com.oracle.truffle.polyglot.PolyglotLanguage.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
astore 4
start local 4 21: aload 3
aload 4
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.addContextLocals:(Ljava/util/List;)[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
dup
astore 2
putfield com.oracle.truffle.polyglot.PolyglotLanguage.previousContextLocalLocations:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
22: getstatic com.oracle.truffle.polyglot.PolyglotLocals.$assertionsDisabled:Z
ifne 23
aload 2
arraylength
aload 0
invokeinterface java.util.List.size:()I
if_icmpeq 23
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 4 end local 3 23: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.polyglot.PolyglotLocals.$assertionsDisabled:Z
ifne 24
aload 1
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.contextLocals:Ljava/util/List;
ifnull 24
new java.lang.AssertionError
dup
ldc "current context locals can only be initialized once"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
24: StackMap locals:
StackMap stack:
aload 1
aload 0
putfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.contextLocals:Ljava/util/List;
25: aload 1
aload 2
putfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.contextLocalLocations:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
26: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 locals Ljava/util/List<Lcom/oracle/truffle/polyglot/PolyglotLocals$LanguageContextLocal<*>;>;
0 27 1 polyglotLanguageInstance Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;
2 3 2 locations [Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
8 27 2 locations [Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
5 6 3 local Lcom/oracle/truffle/polyglot/PolyglotLocals$LanguageContextLocal<*>;
14 18 3 i I
20 23 3 language Lcom/oracle/truffle/polyglot/PolyglotLanguage;
21 23 4 engine Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
Signature: (Ljava/util/List<Lcom/oracle/truffle/polyglot/PolyglotLocals$LanguageContextLocal<*>;>;Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;)V
MethodParameters:
Name Flags
locals
polyglotLanguageInstance
static void initializeInstrumentContextThreadLocals(java.util.List<com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextThreadLocal<?>>, com.oracle.truffle.polyglot.PolyglotInstrument);
descriptor: (Ljava/util/List;Lcom/oracle/truffle/polyglot/PolyglotInstrument;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
1: getstatic com.oracle.truffle.polyglot.PolyglotEngineImpl.EMPTY_LOCATIONS:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
astore 2
start local 2 2: goto 8
end local 2 3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: java.util.List com.oracle.truffle.polyglot.PolyglotInstrument top top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextThreadLocal
astore 3
start local 3 5: aload 3
aload 1
putfield com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextThreadLocal.instrument:Lcom/oracle/truffle/polyglot/PolyglotInstrument;
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
getfield com.oracle.truffle.polyglot.PolyglotInstrument.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.addContextThreadLocals:(Ljava/util/List;)[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
astore 2
start local 2 8: StackMap locals: java.util.List com.oracle.truffle.polyglot.PolyglotInstrument com.oracle.truffle.polyglot.PolyglotLocals$LocalLocation[]
StackMap stack:
aload 1
aload 2
putfield com.oracle.truffle.polyglot.PolyglotInstrument.contextThreadLocalLocations:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 locals Ljava/util/List<Lcom/oracle/truffle/polyglot/PolyglotLocals$InstrumentContextThreadLocal<*>;>;
0 10 1 polyglotInstrument Lcom/oracle/truffle/polyglot/PolyglotInstrument;
2 3 2 locations [Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
8 10 2 locations [Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
5 6 3 local Lcom/oracle/truffle/polyglot/PolyglotLocals$InstrumentContextThreadLocal<*>;
Signature: (Ljava/util/List<Lcom/oracle/truffle/polyglot/PolyglotLocals$InstrumentContextThreadLocal<*>;>;Lcom/oracle/truffle/polyglot/PolyglotInstrument;)V
MethodParameters:
Name Flags
locals
polyglotInstrument
static void initializeLanguageContextThreadLocals(java.util.List<com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextThreadLocal<?>>, com.oracle.truffle.polyglot.PolyglotLanguageInstance);
descriptor: (Ljava/util/List;Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
1: getstatic com.oracle.truffle.polyglot.PolyglotEngineImpl.EMPTY_LOCATIONS:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
astore 2
start local 2 2: goto 23
end local 2 3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: java.util.List com.oracle.truffle.polyglot.PolyglotLanguageInstance top top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextThreadLocal
astore 3
start local 3 5: aload 3
aload 1
putfield com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextThreadLocal.languageInstance:Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.language:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
getfield com.oracle.truffle.polyglot.PolyglotLanguage.previousContextThreadLocalLocations:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
astore 2
start local 2 8: aload 2
ifnull 19
9: aload 0
invokeinterface java.util.List.size:()I
aload 2
arraylength
if_icmpeq 13
10: new java.lang.IllegalStateException
dup
ldc "Truffle language %s did not create the same number of context thread locals. Expected %s locals but were %s."
iconst_3
anewarray java.lang.Object
dup
iconst_0
11: aload 1
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.spi:Lcom/oracle/truffle/api/TruffleLanguage;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
12: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: java.util.List com.oracle.truffle.polyglot.PolyglotLanguageInstance com.oracle.truffle.polyglot.PolyglotLocals$LocalLocation[]
StackMap stack:
iconst_0
istore 3
start local 3 14: goto 17
15: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextThreadLocal
aload 2
iload 3
aaload
invokevirtual com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextThreadLocal.initializeLocation:(Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;)V
16: iinc 3 1
StackMap locals:
StackMap stack:
17: iload 3
aload 2
arraylength
if_icmplt 15
end local 3 18: goto 23
19: StackMap locals:
StackMap stack:
aload 1
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.language:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
astore 3
start local 3 20: aload 3
getfield com.oracle.truffle.polyglot.PolyglotLanguage.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
astore 4
start local 4 21: aload 3
aload 4
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.addContextThreadLocals:(Ljava/util/List;)[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
dup
astore 2
putfield com.oracle.truffle.polyglot.PolyglotLanguage.previousContextThreadLocalLocations:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
22: getstatic com.oracle.truffle.polyglot.PolyglotLocals.$assertionsDisabled:Z
ifne 23
aload 2
arraylength
aload 0
invokeinterface java.util.List.size:()I
if_icmpeq 23
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 4 end local 3 23: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.polyglot.PolyglotLocals.$assertionsDisabled:Z
ifne 24
aload 1
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.contextThreadLocals:Ljava/util/List;
ifnull 24
new java.lang.AssertionError
dup
ldc "current context locals can only be initialized once"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
24: StackMap locals:
StackMap stack:
aload 1
aload 0
putfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.contextThreadLocals:Ljava/util/List;
25: aload 1
aload 2
putfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.contextThreadLocalLocations:[Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
26: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 locals Ljava/util/List<Lcom/oracle/truffle/polyglot/PolyglotLocals$LanguageContextThreadLocal<*>;>;
0 27 1 polyglotLanguageInstance Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;
2 3 2 locations [Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
8 27 2 locations [Lcom/oracle/truffle/polyglot/PolyglotLocals$LocalLocation;
5 6 3 local Lcom/oracle/truffle/polyglot/PolyglotLocals$LanguageContextThreadLocal<*>;
14 18 3 i I
20 23 3 language Lcom/oracle/truffle/polyglot/PolyglotLanguage;
21 23 4 engine Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
Signature: (Ljava/util/List<Lcom/oracle/truffle/polyglot/PolyglotLocals$LanguageContextThreadLocal<*>;>;Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;)V
MethodParameters:
Name Flags
locals
polyglotLanguageInstance
static java.lang.IllegalStateException noCurrentContext();
descriptor: ()Ljava/lang/IllegalStateException;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.IllegalStateException
dup
ldc "No current context is entered."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
static boolean assertLanguageCreated(com.oracle.truffle.polyglot.PolyglotContextImpl, com.oracle.truffle.polyglot.PolyglotLanguage);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotContextImpl;Lcom/oracle/truffle/polyglot/PolyglotLanguage;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "No current context is entered."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotContextImpl.getContext:(Lcom/oracle/truffle/polyglot/PolyglotLanguage;)Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.isCreated:()Z
ifne 6
3: new java.lang.IllegalStateException
dup
ldc "Language context for language '%s' is not yet created in the context."
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguage.getId:()Ljava/lang/String;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
0 7 1 language Lcom/oracle/truffle/polyglot/PolyglotLanguage;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
language
static boolean assertInstrumentCreated(com.oracle.truffle.polyglot.PolyglotContextImpl, com.oracle.truffle.polyglot.PolyglotInstrument);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotContextImpl;Lcom/oracle/truffle/polyglot/PolyglotInstrument;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "No current context is entered."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotInstrument.isInitialized:()Z
ifne 6
3: new java.lang.IllegalStateException
dup
ldc "Instrument '%s' is not yet created in the context."
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotInstrument.getId:()Ljava/lang/String;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
0 7 1 instrument Lcom/oracle/truffle/polyglot/PolyglotInstrument;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
instrument
}
SourceFile: "PolyglotLocals.java"
NestMembers:
com.oracle.truffle.polyglot.PolyglotLocals$AbstractContextLocal com.oracle.truffle.polyglot.PolyglotLocals$AbstractContextThreadLocal com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextLocal com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextLocal$Location com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextThreadLocal com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextThreadLocal$Location com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextLocal com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextLocal$Location com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextThreadLocal com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextThreadLocal$Location com.oracle.truffle.polyglot.PolyglotLocals$LocalLocation
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
abstract AbstractContextLocal = com.oracle.truffle.polyglot.PolyglotLocals$AbstractContextLocal of com.oracle.truffle.polyglot.PolyglotLocals
abstract AbstractContextThreadLocal = com.oracle.truffle.polyglot.PolyglotLocals$AbstractContextThreadLocal of com.oracle.truffle.polyglot.PolyglotLocals
final InstrumentContextLocal = com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextLocal of com.oracle.truffle.polyglot.PolyglotLocals
final InstrumentContextThreadLocal = com.oracle.truffle.polyglot.PolyglotLocals$InstrumentContextThreadLocal of com.oracle.truffle.polyglot.PolyglotLocals
final LanguageContextLocal = com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextLocal of com.oracle.truffle.polyglot.PolyglotLocals
final LanguageContextThreadLocal = com.oracle.truffle.polyglot.PolyglotLocals$LanguageContextThreadLocal of com.oracle.truffle.polyglot.PolyglotLocals
abstract LocalLocation = com.oracle.truffle.polyglot.PolyglotLocals$LocalLocation of com.oracle.truffle.polyglot.PolyglotLocals