final class org.xnio.ByteBufferPool$TwoCache implements org.xnio.ByteBufferPool$Cache
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.xnio.ByteBufferPool$TwoCache
super_class: java.lang.Object
{
private final org.xnio.ByteBufferPool$Cache parent;
descriptor: Lorg/xnio/ByteBufferPool$Cache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.ByteBuffer buffer1;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer buffer2;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
void <init>(org.xnio.ByteBufferPool$Cache);
descriptor: (Lorg/xnio/ByteBufferPool$Cache;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.xnio.ByteBufferPool$TwoCache.parent:Lorg/xnio/ByteBufferPool$Cache;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/ByteBufferPool$TwoCache;
0 3 1 parent Lorg/xnio/ByteBufferPool$Cache;
MethodParameters:
Name Flags
parent final
public void free(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.ByteBufferPool$TwoCache.buffer1:Ljava/nio/ByteBuffer;
ifnonnull 3
1: aload 0
aload 1
putfield org.xnio.ByteBufferPool$TwoCache.buffer1:Ljava/nio/ByteBuffer;
2: goto 7
StackMap locals:
StackMap stack:
3: aload 0
getfield org.xnio.ByteBufferPool$TwoCache.buffer2:Ljava/nio/ByteBuffer;
ifnonnull 6
4: aload 0
aload 1
putfield org.xnio.ByteBufferPool$TwoCache.buffer2:Ljava/nio/ByteBuffer;
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ByteBufferPool$TwoCache.parent:Lorg/xnio/ByteBufferPool$Cache;
aload 1
invokeinterface org.xnio.ByteBufferPool$Cache.free:(Ljava/nio/ByteBuffer;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/xnio/ByteBufferPool$TwoCache;
0 8 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bb final
public void flushBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.ByteBufferPool$TwoCache.parent:Lorg/xnio/ByteBufferPool$Cache;
aload 1
invokeinterface org.xnio.ByteBufferPool$Cache.flushBuffer:(Ljava/nio/ByteBuffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/ByteBufferPool$TwoCache;
0 2 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bb final
public java.nio.ByteBuffer allocate();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferPool$TwoCache.buffer1:Ljava/nio/ByteBuffer;
ifnull 7
1: aload 0
getfield org.xnio.ByteBufferPool$TwoCache.buffer1:Ljava/nio/ByteBuffer;
astore 2
2: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$TwoCache.buffer1:Ljava/nio/ByteBuffer;
3: aload 2
areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$TwoCache.buffer1:Ljava/nio/ByteBuffer;
6: aload 1
athrow
StackMap locals:
StackMap stack:
7: aload 0
getfield org.xnio.ByteBufferPool$TwoCache.buffer2:Ljava/nio/ByteBuffer;
ifnull 14
8: aload 0
getfield org.xnio.ByteBufferPool$TwoCache.buffer2:Ljava/nio/ByteBuffer;
astore 2
9: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$TwoCache.buffer2:Ljava/nio/ByteBuffer;
10: aload 2
areturn
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
12: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$TwoCache.buffer2:Ljava/nio/ByteBuffer;
13: aload 1
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ByteBufferPool$TwoCache.parent:Lorg/xnio/ByteBufferPool$Cache;
invokeinterface org.xnio.ByteBufferPool$Cache.allocate:()Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/xnio/ByteBufferPool$TwoCache;
Exception table:
from to target type
1 2 4 any
8 9 11 any
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferPool$TwoCache.parent:Lorg/xnio/ByteBufferPool$Cache;
astore 1
start local 1 1: aload 0
getfield org.xnio.ByteBufferPool$TwoCache.buffer1:Ljava/nio/ByteBuffer;
astore 2
start local 2 2: aload 2
ifnull 5
3: aload 1
aload 2
invokeinterface org.xnio.ByteBufferPool$Cache.free:(Ljava/nio/ByteBuffer;)V
4: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$TwoCache.buffer1:Ljava/nio/ByteBuffer;
5: StackMap locals: org.xnio.ByteBufferPool$Cache java.nio.ByteBuffer
StackMap stack:
aload 0
getfield org.xnio.ByteBufferPool$TwoCache.buffer2:Ljava/nio/ByteBuffer;
astore 3
start local 3 6: aload 3
ifnull 9
7: aload 1
aload 3
invokeinterface org.xnio.ByteBufferPool$Cache.free:(Ljava/nio/ByteBuffer;)V
8: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$TwoCache.buffer2:Ljava/nio/ByteBuffer;
9: StackMap locals: java.nio.ByteBuffer
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/xnio/ByteBufferPool$TwoCache;
1 10 1 parent Lorg/xnio/ByteBufferPool$Cache;
2 10 2 buffer1 Ljava/nio/ByteBuffer;
6 10 3 buffer2 Ljava/nio/ByteBuffer;
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferPool$TwoCache.buffer1:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 0
aload 1
invokevirtual org.xnio.ByteBufferPool$TwoCache.flushBuffer:(Ljava/nio/ByteBuffer;)V
3: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$TwoCache.buffer1:Ljava/nio/ByteBuffer;
4: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
getfield org.xnio.ByteBufferPool$TwoCache.buffer2:Ljava/nio/ByteBuffer;
astore 2
start local 2 5: aload 2
ifnull 8
6: aload 0
aload 2
invokevirtual org.xnio.ByteBufferPool$TwoCache.flushBuffer:(Ljava/nio/ByteBuffer;)V
7: aload 0
aconst_null
putfield org.xnio.ByteBufferPool$TwoCache.buffer2:Ljava/nio/ByteBuffer;
8: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
getfield org.xnio.ByteBufferPool$TwoCache.parent:Lorg/xnio/ByteBufferPool$Cache;
invokeinterface org.xnio.ByteBufferPool$Cache.flush:()V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/xnio/ByteBufferPool$TwoCache;
1 10 1 buffer1 Ljava/nio/ByteBuffer;
5 10 2 buffer2 Ljava/nio/ByteBuffer;
}
SourceFile: "ByteBufferPool.java"
NestHost: org.xnio.ByteBufferPool
InnerClasses:
abstract Cache = org.xnio.ByteBufferPool$Cache of org.xnio.ByteBufferPool
final TwoCache = org.xnio.ByteBufferPool$TwoCache of org.xnio.ByteBufferPool