final class com.oracle.truffle.polyglot.PolyglotContextThreadLocal extends java.lang.ThreadLocal<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.polyglot.PolyglotContextThreadLocal
super_class: java.lang.ThreadLocal
{
private final com.oracle.truffle.api.Assumption singleThread;
descriptor: Lcom/oracle/truffle/api/Assumption;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile com.oracle.truffle.polyglot.PolyglotContextImpl activeSingleContext;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private com.oracle.truffle.polyglot.PolyglotContextImpl activeSingleContextNonVolatile;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
flags: (0x0002) ACC_PRIVATE
private volatile java.lang.Thread activeSingleThreadCompilationFinal;
descriptor: Ljava/lang/Thread;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private volatile java.lang.Thread activeSingleThread;
descriptor: Ljava/lang/Thread;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean compilationFinalThread;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
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/PolyglotContextThreadLocal;
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.PolyglotContextThreadLocal.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.ThreadLocal.<init>:()V
1: aload 0
invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
ldc "single thread"
invokeinterface com.oracle.truffle.api.TruffleRuntime.createAssumption:(Ljava/lang/String;)Lcom/oracle/truffle/api/Assumption;
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.singleThread:Lcom/oracle/truffle/api/Assumption;
2: aload 0
iconst_1
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.compilationFinalThread:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
protected java.lang.Object initialValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getSingleThread:()Ljava/lang/Thread;
if_acmpne 7
1: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 1
start local 1 2: aload 0
aconst_null
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
3: aload 0
aconst_null
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleThreadCompilationFinal:Ljava/lang/Thread;
4: aload 0
aconst_null
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleThread:Ljava/lang/Thread;
5: aload 0
aconst_null
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContextNonVolatile:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
6: aload 1
areturn
end local 1 7: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
2 7 1 context Ljava/lang/Object;
public void enableStore();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.singleThread:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifeq 4
aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.compilationFinalThread:Z
ifeq 4
1: aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getSingleThread:()Ljava/lang/Thread;
astore 1
start local 1 2: aload 0
iconst_0
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.compilationFinalThread:Z
3: aload 0
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.setSingleThread:(Ljava/lang/Thread;)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
2 4 1 t Ljava/lang/Thread;
private void setSingleThread(java.lang.Thread);
descriptor: (Ljava/lang/Thread;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.compilationFinalThread:Z
ifeq 3
1: aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleThreadCompilationFinal:Ljava/lang/Thread;
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleThread:Ljava/lang/Thread;
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/polyglot/PolyglotContextThreadLocal;
0 5 1 t Ljava/lang/Thread;
MethodParameters:
Name Flags
t
private java.lang.Thread getSingleThread();
descriptor: ()Ljava/lang/Thread;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.compilationFinalThread:Z
ifeq 2
1: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleThreadCompilationFinal:Ljava/lang/Thread;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleThread:Ljava/lang/Thread;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
public boolean isSet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.singleThread:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifeq 6
1: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
ifnull 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 1
start local 1 4: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getSingleThread:()Ljava/lang/Thread;
if_acmpne 5
iload 1
ifeq 5
iconst_1
ireturn
StackMap locals: int
StackMap stack:
5: iconst_0
ireturn
end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getTL:()Ljava/lang/Object;
ifnull 7
iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
4 6 1 set Z
public java.lang.Object getEntered();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.singleThread:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifeq 3
1: getstatic com.oracle.truffle.polyglot.PolyglotContextThreadLocal.$assertionsDisabled:Z
ifne 2
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getSingleThread:()Ljava/lang/Thread;
if_acmpeq 2
new java.lang.AssertionError
dup
invokestatic com.oracle.truffle.polyglot.PolyglotContextThreadLocal.failIllegalState:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContextNonVolatile:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getTL:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
private static java.lang.String failIllegalState();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.IllegalStateException
dup
ldc "No context entered."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.singleThread:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifeq 7
1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getSingleThread:()Ljava/lang/Thread;
if_acmpne 4
2: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 1
start local 1 3: goto 8
end local 1 4: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
5: aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getImplSlowPath:()Ljava/lang/Object;
astore 1
start local 1 6: goto 8
end local 1 7: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getTL:()Ljava/lang/Object;
astore 1
start local 1 8: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
3 4 1 context Ljava/lang/Object;
6 7 1 context Ljava/lang/Object;
8 9 1 context Ljava/lang/Object;
public void set(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast com.oracle.truffle.polyglot.PolyglotContextImpl
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.setReturnParent:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
0 2 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
com.oracle.truffle.polyglot.PolyglotContextImpl setReturnParent(com.oracle.truffle.polyglot.PolyglotContextImpl);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.singleThread:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifeq 9
1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getSingleThread:()Ljava/lang/Thread;
if_acmpne 6
2: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 2
start local 2 3: aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
4: aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContextNonVolatile:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
5: goto 8
end local 2 6: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
7: aload 0
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.setReturnParentSlowPath:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 2
start local 2 8: StackMap locals: com.oracle.truffle.polyglot.PolyglotContextImpl
StackMap stack:
aload 2
areturn
end local 2 9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.setTLReturnParent:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
0 10 1 value Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
3 6 2 prev Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
8 9 2 prev Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
MethodParameters:
Name Flags
value
private synchronized java.lang.Object getImplSlowPath();
descriptor: ()Ljava/lang/Object;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.singleThread:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifne 2
1: aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getTL:()Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
private java.lang.Object getTL();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 1
start local 1 1: aload 1
instanceof com.oracle.truffle.polyglot.PolyglotThread
ifeq 11
2: aload 1
checkcast com.oracle.truffle.polyglot.PolyglotThread
astore 2
start local 2 3: aload 2
getfield com.oracle.truffle.polyglot.PolyglotThread.context:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 3
start local 3 4: aload 3
ifnonnull 10
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getSingleThread:()Ljava/lang/Thread;
aload 1
if_acmpne 10
5: aload 2
aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
dup_x1
putfield com.oracle.truffle.polyglot.PolyglotThread.context:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 3
6: aload 0
aconst_null
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
7: aload 0
aconst_null
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContextNonVolatile:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
8: aload 0
aconst_null
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleThreadCompilationFinal:Ljava/lang/Thread;
9: aload 0
aconst_null
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleThread:Ljava/lang/Thread;
10: StackMap locals: java.lang.Thread com.oracle.truffle.polyglot.PolyglotThread java.lang.Object
StackMap stack:
aload 3
areturn
end local 3 end local 2 11: StackMap locals:
StackMap stack:
aload 0
invokespecial java.lang.ThreadLocal.get:()Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
1 12 1 current Ljava/lang/Thread;
3 11 2 polyglotThread Lcom/oracle/truffle/polyglot/PolyglotThread;
4 11 3 context Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
private com.oracle.truffle.polyglot.PolyglotContextImpl setTLReturnParent(com.oracle.truffle.polyglot.PolyglotContextImpl);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 2
start local 2 1: aload 2
instanceof com.oracle.truffle.polyglot.PolyglotThread
ifeq 6
2: aload 2
checkcast com.oracle.truffle.polyglot.PolyglotThread
astore 3
start local 3 3: aload 3
getfield com.oracle.truffle.polyglot.PolyglotThread.context:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 4
start local 4 4: aload 3
aload 1
putfield com.oracle.truffle.polyglot.PolyglotThread.context:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
5: aload 4
areturn
end local 4 end local 3 6: StackMap locals: java.lang.Thread
StackMap stack:
aload 0
invokespecial java.lang.ThreadLocal.get:()Ljava/lang/Object;
astore 3
start local 3 7: aload 0
aload 1
invokespecial java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
8: aload 3
checkcast com.oracle.truffle.polyglot.PolyglotContextImpl
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
0 9 1 context Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
1 9 2 current Ljava/lang/Thread;
3 6 3 polyglotThread Lcom/oracle/truffle/polyglot/PolyglotThread;
4 6 4 prev Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
7 9 3 prev Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
private synchronized com.oracle.truffle.polyglot.PolyglotContextImpl setReturnParentSlowPath(com.oracle.truffle.polyglot.PolyglotContextImpl);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.singleThread:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifne 2
1: aload 0
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.setTLReturnParent:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 2
start local 2 3: aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.getSingleThread:()Ljava/lang/Thread;
astore 3
start local 3 4: aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 4
start local 4 5: aload 2
aload 3
if_acmpne 9
6: aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
7: aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContextNonVolatile:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
8: goto 16
9: StackMap locals: java.lang.Thread java.lang.Thread com.oracle.truffle.polyglot.PolyglotContextImpl
StackMap stack:
aload 3
ifnonnull 14
10: aload 0
aload 2
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.setSingleThread:(Ljava/lang/Thread;)V
11: aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContext:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
12: aload 0
aload 1
putfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.activeSingleContextNonVolatile:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.polyglot.PolyglotContextThreadLocal.singleThread:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.invalidate:()V
15: aload 0
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotContextThreadLocal.setTLReturnParent:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
areturn
16: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
0 17 1 context Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
3 17 2 currentThread Ljava/lang/Thread;
4 17 3 storeThread Ljava/lang/Thread;
5 17 4 prev Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
MethodParameters:
Name Flags
context
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotContextThreadLocal;
}
Signature: Ljava/lang/ThreadLocal<Ljava/lang/Object;>;
SourceFile: "PolyglotContextThreadLocal.java"
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives