class org.jruby.embed.internal.ConcurrentLocalContextProvider$1 extends java.lang.ThreadLocal<java.util.concurrent.atomic.AtomicReference<org.jruby.embed.internal.LocalContext>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.embed.internal.ConcurrentLocalContextProvider$1
super_class: java.lang.ThreadLocal
{
final org.jruby.embed.internal.ConcurrentLocalContextProvider this$0;
descriptor: Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.embed.internal.ConcurrentLocalContextProvider);
descriptor: (Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider$1 this
0: .line 51
aload 0 /* this */
aload 1
putfield org.jruby.embed.internal.ConcurrentLocalContextProvider$1.this$0:Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;
aload 0 /* this */
invokespecial java.lang.ThreadLocal.<init>:()V
return
end local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/embed/internal/ConcurrentLocalContextProvider$1;
MethodParameters:
Name Flags
this$0 final
public java.util.concurrent.atomic.AtomicReference<org.jruby.embed.internal.LocalContext> initialValue();
descriptor: ()Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider$1 this
0: .line 54
aconst_null
astore 1 /* contextRef */
start local 1 // java.util.concurrent.atomic.AtomicReference contextRef
1: .line 57
new java.util.concurrent.atomic.AtomicReference
dup
aload 0 /* this */
getfield org.jruby.embed.internal.ConcurrentLocalContextProvider$1.this$0:Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;
invokevirtual org.jruby.embed.internal.ConcurrentLocalContextProvider.getInstance:()Lorg/jruby/embed/internal/LocalContext;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
astore 1 /* contextRef */
2: .line 58
aload 0 /* this */
getfield org.jruby.embed.internal.ConcurrentLocalContextProvider$1.this$0:Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;
getfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextRefs:Ljava/util/concurrent/ConcurrentLinkedQueue;
aload 1 /* contextRef */
invokevirtual java.util.concurrent.ConcurrentLinkedQueue.add:(Ljava/lang/Object;)Z
pop
3: .line 59
aload 1 /* contextRef */
4: areturn
5: .line 60
StackMap locals: org.jruby.embed.internal.ConcurrentLocalContextProvider$1 java.util.concurrent.atomic.AtomicReference
StackMap stack: java.lang.NullPointerException
astore 2 /* npe */
start local 2 // java.lang.NullPointerException npe
6: .line 61
aload 0 /* this */
getfield org.jruby.embed.internal.ConcurrentLocalContextProvider$1.this$0:Lorg/jruby/embed/internal/ConcurrentLocalContextProvider;
getfield org.jruby.embed.internal.ConcurrentLocalContextProvider.contextRefs:Ljava/util/concurrent/ConcurrentLinkedQueue;
ifnonnull 10
7: .line 63
aload 1 /* contextRef */
ifnull 9
8: .line 64
aload 1 /* contextRef */
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.jruby.embed.internal.LocalContext
invokevirtual org.jruby.embed.internal.LocalContext.remove:()V
9: .line 67
StackMap locals: java.lang.NullPointerException
StackMap stack:
aconst_null
areturn
10: .line 69
StackMap locals:
StackMap stack:
aload 2 /* npe */
athrow
end local 2 // java.lang.NullPointerException npe
end local 1 // java.util.concurrent.atomic.AtomicReference contextRef
end local 0 // org.jruby.embed.internal.ConcurrentLocalContextProvider$1 this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/embed/internal/ConcurrentLocalContextProvider$1;
1 11 1 contextRef Ljava/util/concurrent/atomic/AtomicReference<Lorg/jruby/embed/internal/LocalContext;>;
6 11 2 npe Ljava/lang/NullPointerException;
Exception table:
from to target type
1 4 5 Class java.lang.NullPointerException
Signature: ()Ljava/util/concurrent/atomic/AtomicReference<Lorg/jruby/embed/internal/LocalContext;>;
public java.lang.Object initialValue();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: .line 1
aload 0
invokevirtual org.jruby.embed.internal.ConcurrentLocalContextProvider$1.initialValue:()Ljava/util/concurrent/atomic/AtomicReference;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/ThreadLocal<Ljava/util/concurrent/atomic/AtomicReference<Lorg/jruby/embed/internal/LocalContext;>;>;
SourceFile: "ConcurrentLocalContextProvider.java"
EnclosingMethod: org.jruby.embed.internal.ConcurrentLocalContextProvider
NestHost: org.jruby.embed.internal.ConcurrentLocalContextProvider
InnerClasses:
org.jruby.embed.internal.ConcurrentLocalContextProvider$1