public abstract class com.sun.util.reentrant.ReentrantContextProviderTL<K extends com.sun.util.reentrant.ReentrantContext> extends com.sun.util.reentrant.ReentrantContextProvider<K>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.util.reentrant.ReentrantContextProviderTL
super_class: com.sun.util.reentrant.ReentrantContextProvider
{
private final java.lang.ThreadLocal<java.lang.ref.Reference<K>> ctxTL;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/lang/ref/Reference<TK;>;>;
private final com.sun.util.reentrant.ReentrantContextProviderCLQ<K> ctxProviderCLQ;
descriptor: Lcom/sun/util/reentrant/ReentrantContextProviderCLQ;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/sun/util/reentrant/ReentrantContextProviderCLQ<TK;>;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_2
invokespecial com.sun.util.reentrant.ReentrantContextProviderTL.<init>:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/util/reentrant/ReentrantContextProviderTL<TK;>;
0 2 1 refType I
MethodParameters:
Name Flags
refType final
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokespecial com.sun.util.reentrant.ReentrantContextProvider.<init>:(I)V
1: aload 0
2: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield com.sun.util.reentrant.ReentrantContextProviderTL.ctxTL:Ljava/lang/ThreadLocal;
3: aload 0
astore 3
start local 3 4: aload 0
new com.sun.util.reentrant.ReentrantContextProviderTL$1
dup
aload 0
iload 2
aload 3
invokespecial com.sun.util.reentrant.ReentrantContextProviderTL$1.<init>:(Lcom/sun/util/reentrant/ReentrantContextProviderTL;ILcom/sun/util/reentrant/ReentrantContextProviderTL;)V
putfield com.sun.util.reentrant.ReentrantContextProviderTL.ctxProviderCLQ:Lcom/sun/util/reentrant/ReentrantContextProviderCLQ;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/util/reentrant/ReentrantContextProviderTL<TK;>;
0 6 1 refTypeTL I
0 6 2 refTypeCLQ I
4 6 3 parent Lcom/sun/util/reentrant/ReentrantContextProviderTL<TK;>;
MethodParameters:
Name Flags
refTypeTL final
refTypeCLQ final
public final K acquire();
descriptor: ()Lcom/sun/util/reentrant/ReentrantContext;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield com.sun.util.reentrant.ReentrantContextProviderTL.ctxTL:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.ref.Reference
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
invokevirtual java.lang.ref.Reference.get:()Ljava/lang/Object;
checkcast com.sun.util.reentrant.ReentrantContext
astore 1
4: StackMap locals: com.sun.util.reentrant.ReentrantContext java.lang.ref.Reference
StackMap stack:
aload 1
ifnonnull 7
5: aload 0
invokevirtual com.sun.util.reentrant.ReentrantContextProviderTL.newContext:()Lcom/sun/util/reentrant/ReentrantContext;
astore 1
6: aload 0
getfield com.sun.util.reentrant.ReentrantContextProviderTL.ctxTL:Ljava/lang/ThreadLocal;
aload 0
aload 1
invokevirtual com.sun.util.reentrant.ReentrantContextProviderTL.getOrCreateReference:(Lcom/sun/util/reentrant/ReentrantContext;)Ljava/lang/ref/Reference;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.util.reentrant.ReentrantContext.usage:B
ifne 10
8: aload 1
iconst_1
putfield com.sun.util.reentrant.ReentrantContext.usage:B
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.util.reentrant.ReentrantContextProviderTL.ctxProviderCLQ:Lcom/sun/util/reentrant/ReentrantContextProviderCLQ;
invokevirtual com.sun.util.reentrant.ReentrantContextProviderCLQ.acquire:()Lcom/sun/util/reentrant/ReentrantContext;
astore 1
11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/util/reentrant/ReentrantContextProviderTL<TK;>;
1 12 1 ctx TK;
2 12 2 ref Ljava/lang/ref/Reference<TK;>;
Signature: ()TK;
public final void release();
descriptor: (Lcom/sun/util/reentrant/ReentrantContext;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.util.reentrant.ReentrantContext.usage:B
iconst_1
if_icmpne 3
1: aload 1
iconst_0
putfield com.sun.util.reentrant.ReentrantContext.usage:B
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.util.reentrant.ReentrantContextProviderTL.ctxProviderCLQ:Lcom/sun/util/reentrant/ReentrantContextProviderCLQ;
aload 1
invokevirtual com.sun.util.reentrant.ReentrantContextProviderCLQ.release:(Lcom/sun/util/reentrant/ReentrantContext;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/util/reentrant/ReentrantContextProviderTL<TK;>;
0 5 1 ctx TK;
Signature: (TK;)V
MethodParameters:
Name Flags
ctx final
}
Signature: <K:Lcom/sun/util/reentrant/ReentrantContext;>Lcom/sun/util/reentrant/ReentrantContextProvider<TK;>;
SourceFile: "ReentrantContextProviderTL.java"
NestMembers:
com.sun.util.reentrant.ReentrantContextProviderTL$1
InnerClasses:
com.sun.util.reentrant.ReentrantContextProviderTL$1