public abstract class com.sun.util.reentrant.ReentrantContextProviderCLQ<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.ReentrantContextProviderCLQ
super_class: com.sun.util.reentrant.ReentrantContextProvider
{
private final java.util.concurrent.ConcurrentLinkedQueue<java.lang.ref.Reference<K>> ctxQueue;
descriptor: Ljava/util/concurrent/ConcurrentLinkedQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentLinkedQueue<Ljava/lang/ref/Reference<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
invokespecial com.sun.util.reentrant.ReentrantContextProvider.<init>:(I)V
1: aload 0
2: new java.util.concurrent.ConcurrentLinkedQueue
dup
invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
putfield com.sun.util.reentrant.ReentrantContextProviderCLQ.ctxQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/util/reentrant/ReentrantContextProviderCLQ<TK;>;
0 4 1 refType I
MethodParameters:
Name Flags
refType final
public final K acquire();
descriptor: ()Lcom/sun/util/reentrant/ReentrantContext;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: goto 4
3: StackMap locals: com.sun.util.reentrant.ReentrantContext java.lang.ref.Reference
StackMap stack:
aload 2
invokevirtual java.lang.ref.Reference.get:()Ljava/lang/Object;
checkcast com.sun.util.reentrant.ReentrantContext
astore 1
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 5
aload 0
getfield com.sun.util.reentrant.ReentrantContextProviderCLQ.ctxQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
invokevirtual java.util.concurrent.ConcurrentLinkedQueue.poll:()Ljava/lang/Object;
checkcast java.lang.ref.Reference
dup
astore 2
ifnonnull 3
5: StackMap locals:
StackMap stack:
aload 1
ifnonnull 8
6: aload 0
invokevirtual com.sun.util.reentrant.ReentrantContextProviderCLQ.newContext:()Lcom/sun/util/reentrant/ReentrantContext;
astore 1
7: aload 1
iconst_2
putfield com.sun.util.reentrant.ReentrantContext.usage:B
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/util/reentrant/ReentrantContextProviderCLQ<TK;>;
1 9 1 ctx TK;
2 9 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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.util.reentrant.ReentrantContext.usage:B
iconst_2
if_icmpne 2
1: aload 0
getfield com.sun.util.reentrant.ReentrantContextProviderCLQ.ctxQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
aload 0
aload 1
invokevirtual com.sun.util.reentrant.ReentrantContextProviderCLQ.getOrCreateReference:(Lcom/sun/util/reentrant/ReentrantContext;)Ljava/lang/ref/Reference;
invokevirtual java.util.concurrent.ConcurrentLinkedQueue.offer:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/util/reentrant/ReentrantContextProviderCLQ<TK;>;
0 3 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: "ReentrantContextProviderCLQ.java"