public abstract class com.sun.xml.internal.ws.util.Pool<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.xml.internal.ws.util.Pool
super_class: java.lang.Object
{
private volatile java.lang.ref.SoftReference<java.util.concurrent.ConcurrentLinkedQueue<T>> queue;
descriptor: Ljava/lang/ref/SoftReference;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/lang/ref/SoftReference<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/xml/internal/ws/util/Pool<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.xml.internal.ws.util.Pool.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.xml.internal.ws.util.Pool.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/xml/internal/ws/util/Pool<TT;>;
1 4 1 t TT;
Signature: ()TT;
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.xml.internal.ws.util.Pool.queue:Ljava/lang/ref/SoftReference;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
invokevirtual java.lang.ref.SoftReference.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.SoftReference
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.SoftReference
dup
aload 2
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putfield com.sun.xml.internal.ws.util.Pool.queue:Ljava/lang/ref/SoftReference;
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/xml/internal/ws/util/Pool<TT;>;
1 8 1 q Ljava/lang/ref/SoftReference<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;>;
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.xml.internal.ws.util.Pool.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/xml/internal/ws/util/Pool<TT;>;
0 2 1 t TT;
Signature: (TT;)V
MethodParameters:
Name Flags
t
protected abstract T create();
descriptor: ()Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Pool.java"
NestMembers:
com.sun.xml.internal.ws.util.Pool$Marshaller com.sun.xml.internal.ws.util.Pool$TubePool com.sun.xml.internal.ws.util.Pool$Unmarshaller
InnerClasses:
public final Marshaller = com.sun.xml.internal.ws.util.Pool$Marshaller of com.sun.xml.internal.ws.util.Pool
public final TubePool = com.sun.xml.internal.ws.util.Pool$TubePool of com.sun.xml.internal.ws.util.Pool
public final Unmarshaller = com.sun.xml.internal.ws.util.Pool$Unmarshaller of com.sun.xml.internal.ws.util.Pool