class org.xnio.ByteBufferSlicePool$ThreadLocalCacheWrapper extends java.lang.ThreadLocal<org.xnio.ByteBufferSlicePool$ThreadLocalCache>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.xnio.ByteBufferSlicePool$ThreadLocalCacheWrapper
super_class: java.lang.ThreadLocal
{
private final java.lang.ref.WeakReference<org.xnio.ByteBufferSlicePool> pool;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Lorg/xnio/ByteBufferSlicePool;>;
void <init>(org.xnio.ByteBufferSlicePool);
descriptor: (Lorg/xnio/ByteBufferSlicePool;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.ThreadLocal.<init>:()V
1: aload 0
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield org.xnio.ByteBufferSlicePool$ThreadLocalCacheWrapper.pool:Ljava/lang/ref/WeakReference;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/ByteBufferSlicePool$ThreadLocalCacheWrapper;
0 3 1 pool Lorg/xnio/ByteBufferSlicePool;
MethodParameters:
Name Flags
pool
protected org.xnio.ByteBufferSlicePool$ThreadLocalCache initialValue();
descriptor: ()Lorg/xnio/ByteBufferSlicePool$ThreadLocalCache;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferSlicePool$ThreadLocalCacheWrapper.pool:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.xnio.ByteBufferSlicePool
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual org.xnio.ByteBufferSlicePool.createThreadLocalCache:()Lorg/xnio/ByteBufferSlicePool$ThreadLocalCache;
areturn
3: StackMap locals: org.xnio.ByteBufferSlicePool
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/ByteBufferSlicePool$ThreadLocalCacheWrapper;
1 4 1 pool Lorg/xnio/ByteBufferSlicePool;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferSlicePool$ThreadLocalCacheWrapper.pool:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.xnio.ByteBufferSlicePool
astore 1
start local 1 1: aload 0
invokevirtual org.xnio.ByteBufferSlicePool$ThreadLocalCacheWrapper.get:()Ljava/lang/Object;
checkcast org.xnio.ByteBufferSlicePool$ThreadLocalCache
astore 2
start local 2 2: aload 1
ifnull 4
aload 2
ifnull 4
3: aload 1
aload 2
invokevirtual org.xnio.ByteBufferSlicePool.freeThreadLocalCache:(Lorg/xnio/ByteBufferSlicePool$ThreadLocalCache;)V
4: StackMap locals: org.xnio.ByteBufferSlicePool org.xnio.ByteBufferSlicePool$ThreadLocalCache
StackMap stack:
aload 0
invokespecial java.lang.ThreadLocal.remove:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/xnio/ByteBufferSlicePool$ThreadLocalCacheWrapper;
1 6 1 pool Lorg/xnio/ByteBufferSlicePool;
2 6 2 cache Lorg/xnio/ByteBufferSlicePool$ThreadLocalCache;
protected java.lang.Object initialValue();
descriptor: ()Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.xnio.ByteBufferSlicePool$ThreadLocalCacheWrapper.initialValue:()Lorg/xnio/ByteBufferSlicePool$ThreadLocalCache;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/ThreadLocal<Lorg/xnio/ByteBufferSlicePool$ThreadLocalCache;>;
SourceFile: "ByteBufferSlicePool.java"
NestHost: org.xnio.ByteBufferSlicePool
InnerClasses:
final ThreadLocalCache = org.xnio.ByteBufferSlicePool$ThreadLocalCache of org.xnio.ByteBufferSlicePool
private ThreadLocalCacheWrapper = org.xnio.ByteBufferSlicePool$ThreadLocalCacheWrapper of org.xnio.ByteBufferSlicePool