public abstract class com.sun.istack.internal.Pool$Impl<T> implements com.sun.istack.internal.Pool<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.istack.internal.Pool$Impl
super_class: java.lang.Object
{
private volatile java.lang.ref.WeakReference<java.util.concurrent.ConcurrentLinkedQueue<T>> queue;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/lang/ref/WeakReference<Ljava/util/concurrent/ConcurrentLinkedQueue<TT;>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/istack/internal/Pool$Impl<TT;>;
public final T take();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.istack.internal.Pool$Impl.getQueue:()Ljava/util/concurrent/ConcurrentLinkedQueue;
invokevirtual java.util.concurrent.ConcurrentLinkedQueue.poll:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokevirtual com.sun.istack.internal.Pool$Impl.create:()Ljava/lang/Object;
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/istack/internal/Pool$Impl<TT;>;
1 4 1 t TT;
Signature: ()TT;
RuntimeInvisibleAnnotations:
com.sun.istack.internal.NotNull()
public final void recycle();
descriptor: (Ljava/lang/Object;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.istack.internal.Pool$Impl.getQueue:()Ljava/util/concurrent/ConcurrentLinkedQueue;
aload 1
invokevirtual java.util.concurrent.ConcurrentLinkedQueue.offer:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/istack/internal/Pool$Impl<TT;>;
0 2 1 t TT;
Signature: (TT;)V
MethodParameters:
Name Flags
t
private java.util.concurrent.ConcurrentLinkedQueue<T> getQueue();
descriptor: ()Ljava/util/concurrent/ConcurrentLinkedQueue;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.istack.internal.Pool$Impl.queue:Ljava/lang/ref/WeakReference;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ConcurrentLinkedQueue
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
areturn
end local 2 5: StackMap locals: java.lang.ref.WeakReference
StackMap stack:
new java.util.concurrent.ConcurrentLinkedQueue
dup
invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
astore 2
start local 2 6: aload 0
new java.lang.ref.WeakReference
dup
aload 2
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield com.sun.istack.internal.Pool$Impl.queue:Ljava/lang/ref/WeakReference;
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/istack/internal/Pool$Impl<TT;>;
1 8 1 q Ljava/lang/ref/WeakReference<Ljava/util/concurrent/ConcurrentLinkedQueue<TT;>;>;
3 5 2 d Ljava/util/concurrent/ConcurrentLinkedQueue<TT;>;
6 8 2 d Ljava/util/concurrent/ConcurrentLinkedQueue<TT;>;
Signature: ()Ljava/util/concurrent/ConcurrentLinkedQueue<TT;>;
protected abstract T create();
descriptor: ()Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: ()TT;
RuntimeInvisibleAnnotations:
com.sun.istack.internal.NotNull()
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/sun/istack/internal/Pool<TT;>;
SourceFile: "Pool.java"
NestHost: com.sun.istack.internal.Pool
InnerClasses:
public abstract Impl = com.sun.istack.internal.Pool$Impl of com.sun.istack.internal.Pool