class org.xnio.Buffers$4 implements org.xnio.Pooled<java.nio.ByteBuffer>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.xnio.Buffers$4
super_class: java.lang.Object
{
private volatile java.nio.ByteBuffer buf;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.nio.ByteBuffer val$buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.xnio.Buffers$4.val$buffer:Ljava/nio/ByteBuffer;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.xnio.Buffers$4.buf:Ljava/nio/ByteBuffer;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/Buffers$4;
MethodParameters:
Name Flags
val$buffer final
public void discard();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield org.xnio.Buffers$4.buf:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
ifnonnull 2
return
2: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 2
start local 2 3: new org.wildfly.common.ref.CleanerReference
aload 0
getfield org.xnio.Buffers$4.buf:Ljava/nio/ByteBuffer;
aconst_null
new org.xnio.Buffers$4$1
dup
aload 0
aload 2
invokespecial org.xnio.Buffers$4$1.<init>:(Lorg/xnio/Buffers$4;Ljava/nio/ByteBuffer;)V
invokespecial org.wildfly.common.ref.CleanerReference.<init>:(Ljava/lang/Object;Ljava/lang/Object;Lorg/wildfly/common/ref/Reaper;)V
4: aload 0
aconst_null
putfield org.xnio.Buffers$4.buf:Ljava/nio/ByteBuffer;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/xnio/Buffers$4;
1 6 1 oldBuf Ljava/nio/ByteBuffer;
3 6 2 buf Ljava/nio/ByteBuffer;
public void free();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.xnio.Buffers$4.buf:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
ifnonnull 2
return
2: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 1
invokestatic org.xnio.ByteBufferPool.free:(Ljava/nio/ByteBuffer;)V
3: aload 0
aconst_null
putfield org.xnio.Buffers$4.buf:Ljava/nio/ByteBuffer;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/xnio/Buffers$4;
1 5 1 oldBuf Ljava/nio/ByteBuffer;
public java.nio.ByteBuffer getResource();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.xnio.Buffers$4.buf:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/Buffers$4;
1 4 1 buffer Ljava/nio/ByteBuffer;
Exceptions:
throws java.lang.IllegalStateException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.xnio.Buffers$4.free:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/Buffers$4;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Globally pooled wrapper around "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.xnio.Buffers$4.val$buffer:Ljava/nio/ByteBuffer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/Buffers$4;
public java.lang.Object getResource();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.xnio.Buffers$4.getResource:()Ljava/nio/ByteBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.IllegalStateException
}
Signature: Ljava/lang/Object;Lorg/xnio/Pooled<Ljava/nio/ByteBuffer;>;
SourceFile: "Buffers.java"
EnclosingMethod: org.xnio.Buffers.globalPooledWrapper:(Ljava/nio/ByteBuffer;)Lorg/xnio/Pooled;
NestHost: org.xnio.Buffers
InnerClasses:
org.xnio.Buffers$4
org.xnio.Buffers$4$1