public abstract class sun.java2d.ReentrantContextProviderCLQ<K extends sun.java2d.ReentrantContext> extends sun.java2d.ReentrantContextProvider<K>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.java2d.ReentrantContextProviderCLQ
super_class: sun.java2d.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 sun.java2d.ReentrantContextProvider.<init>:(I)V
1: aload 0
2: new java.util.concurrent.ConcurrentLinkedQueue
dup
invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
putfield sun.java2d.ReentrantContextProviderCLQ.ctxQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/java2d/ReentrantContextProviderCLQ<TK;>;
0 4 1 refType I
MethodParameters:
Name Flags
refType final
public final K acquire();
descriptor: ()Lsun/java2d/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: sun.java2d.ReentrantContext java.lang.ref.Reference
StackMap stack:
aload 2
invokevirtual java.lang.ref.Reference.get:()Ljava/lang/Object;
checkcast sun.java2d.ReentrantContext
astore 1
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 5
aload 0
getfield sun.java2d.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 sun.java2d.ReentrantContextProviderCLQ.newContext:()Lsun/java2d/ReentrantContext;
astore 1
7: aload 1
iconst_2
putfield sun.java2d.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 Lsun/java2d/ReentrantContextProviderCLQ<TK;>;
1 9 1 ctx TK;
2 9 2 ref Ljava/lang/ref/Reference<TK;>;
Signature: ()TK;
public final void release();
descriptor: (Lsun/java2d/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 sun.java2d.ReentrantContext.usage:B
iconst_2
if_icmpne 2
1: aload 0
getfield sun.java2d.ReentrantContextProviderCLQ.ctxQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
aload 0
aload 1
invokevirtual sun.java2d.ReentrantContextProviderCLQ.getOrCreateReference:(Lsun/java2d/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 Lsun/java2d/ReentrantContextProviderCLQ<TK;>;
0 3 1 ctx TK;
Signature: (TK;)V
MethodParameters:
Name Flags
ctx final
}
Signature: <K:Lsun/java2d/ReentrantContext;>Lsun/java2d/ReentrantContextProvider<TK;>;
SourceFile: "ReentrantContextProviderCLQ.java"