class org.xnio.Buffers$SecurePooledByteBuffer implements org.xnio.Pooled<java.nio.ByteBuffer>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.xnio.Buffers$SecurePooledByteBuffer
super_class: java.lang.Object
{
private static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<org.xnio.Buffers$SecurePooledByteBuffer> freedUpdater;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lorg/xnio/Buffers$SecurePooledByteBuffer;>;
private final org.xnio.Pooled<java.nio.ByteBuffer> allocated;
descriptor: Lorg/xnio/Pooled;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/xnio/Pooled<Ljava/nio/ByteBuffer;>;
private volatile int freed;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/xnio/Buffers$SecurePooledByteBuffer;
ldc "freed"
invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
putstatic org.xnio.Buffers$SecurePooledByteBuffer.freedUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.xnio.Pooled<java.nio.ByteBuffer>);
descriptor: (Lorg/xnio/Pooled;)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.Buffers$SecurePooledByteBuffer.allocated:Lorg/xnio/Pooled;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/Buffers$SecurePooledByteBuffer;
0 3 1 allocated Lorg/xnio/Pooled<Ljava/nio/ByteBuffer;>;
Signature: (Lorg/xnio/Pooled<Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
allocated final
public void discard();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.xnio.Buffers$SecurePooledByteBuffer.freedUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ifeq 3
1: aload 0
getfield org.xnio.Buffers$SecurePooledByteBuffer.allocated:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.getResource:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokestatic org.xnio.Buffers.zero:(Ljava/nio/ByteBuffer;)V
2: aload 0
getfield org.xnio.Buffers$SecurePooledByteBuffer.allocated:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.discard:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/Buffers$SecurePooledByteBuffer;
public void free();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.xnio.Buffers$SecurePooledByteBuffer.freedUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ifeq 3
1: aload 0
getfield org.xnio.Buffers$SecurePooledByteBuffer.allocated:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.getResource:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokestatic org.xnio.Buffers.zero:(Ljava/nio/ByteBuffer;)V
2: aload 0
getfield org.xnio.Buffers$SecurePooledByteBuffer.allocated:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/Buffers$SecurePooledByteBuffer;
public java.nio.ByteBuffer getResource();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.Buffers$SecurePooledByteBuffer.allocated:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.getResource:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/Buffers$SecurePooledByteBuffer;
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$SecurePooledByteBuffer.free:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/Buffers$SecurePooledByteBuffer;
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 "Secure wrapper around "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.xnio.Buffers$SecurePooledByteBuffer.allocated:Lorg/xnio/Pooled;
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$SecurePooledByteBuffer;
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$SecurePooledByteBuffer.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"
NestHost: org.xnio.Buffers
InnerClasses:
private SecurePooledByteBuffer = org.xnio.Buffers$SecurePooledByteBuffer of org.xnio.Buffers