public class jdk.incubator.http.internal.common.ByteBufferReference implements java.util.function.Supplier<java.nio.ByteBuffer>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.http.internal.common.ByteBufferReference
super_class: java.lang.Object
{
private java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private final jdk.incubator.http.internal.common.ByteBufferPool pool;
descriptor: Ljdk/incubator/http/internal/common/ByteBufferPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/incubator/http/internal/common/ByteBufferReference;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.incubator.http.internal.common.ByteBufferReference.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.incubator.http.internal.common.ByteBufferReference of(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljdk/incubator/http/internal/common/ByteBufferReference;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic jdk.incubator.http.internal.common.ByteBufferReference.of:(Ljava/nio/ByteBuffer;Ljdk/incubator/http/internal/common/ByteBufferPool;)Ljdk/incubator/http/internal/common/ByteBufferReference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static jdk.incubator.http.internal.common.ByteBufferReference of(java.nio.ByteBuffer, jdk.incubator.http.internal.common.ByteBufferPool);
descriptor: (Ljava/nio/ByteBuffer;Ljdk/incubator/http/internal/common/ByteBufferPool;)Ljdk/incubator/http/internal/common/ByteBufferReference;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new jdk.incubator.http.internal.common.ByteBufferReference
dup
aload 0
aload 1
invokespecial jdk.incubator.http.internal.common.ByteBufferReference.<init>:(Ljava/nio/ByteBuffer;Ljdk/incubator/http/internal/common/ByteBufferPool;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buffer Ljava/nio/ByteBuffer;
0 2 1 pool Ljdk/incubator/http/internal/common/ByteBufferPool;
MethodParameters:
Name Flags
buffer
pool
public static java.nio.ByteBuffer[] toBuffers(jdk.incubator.http.internal.common.ByteBufferReference[]);
descriptor: ([Ljdk/incubator/http/internal/common/ByteBufferReference;)[Ljava/nio/ByteBuffer;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray java.nio.ByteBuffer
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.nio.ByteBuffer[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
aaload
invokevirtual jdk.incubator.http.internal.common.ByteBufferReference.get:()Ljava/nio/ByteBuffer;
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 refs [Ljdk/incubator/http/internal/common/ByteBufferReference;
1 7 1 bufs [Ljava/nio/ByteBuffer;
2 6 2 i I
MethodParameters:
Name Flags
refs
public static jdk.incubator.http.internal.common.ByteBufferReference[] toReferences(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)[Ljdk/incubator/http/internal/common/ByteBufferReference;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray jdk.incubator.http.internal.common.ByteBufferReference
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: jdk.incubator.http.internal.common.ByteBufferReference[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
aaload
invokestatic jdk.incubator.http.internal.common.ByteBufferReference.of:(Ljava/nio/ByteBuffer;)Ljdk/incubator/http/internal/common/ByteBufferReference;
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 buffers [Ljava/nio/ByteBuffer;
1 7 1 refs [Ljdk/incubator/http/internal/common/ByteBufferReference;
2 6 2 i I
MethodParameters:
Name Flags
buffers
public static void clear(jdk.incubator.http.internal.common.ByteBufferReference[]);
descriptor: ([Ljdk/incubator/http/internal/common/ByteBufferReference;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 4
StackMap locals: jdk.incubator.http.internal.common.ByteBufferReference[] top int int jdk.incubator.http.internal.common.ByteBufferReference[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokevirtual jdk.incubator.http.internal.common.ByteBufferReference.clear:()V
end local 1 3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 3
if_icmplt 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 refs [Ljdk/incubator/http/internal/common/ByteBufferReference;
2 3 1 ref Ljdk/incubator/http/internal/common/ByteBufferReference;
MethodParameters:
Name Flags
refs
private void <init>(java.nio.ByteBuffer, jdk.incubator.http.internal.common.ByteBufferPool);
descriptor: (Ljava/nio/ByteBuffer;Ljdk/incubator/http/internal/common/ByteBufferPool;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.incubator.http.internal.common.ByteBufferReference.buffer:Ljava/nio/ByteBuffer;
2: aload 0
aload 2
putfield jdk.incubator.http.internal.common.ByteBufferReference.pool:Ljdk/incubator/http/internal/common/ByteBufferPool;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/common/ByteBufferReference;
0 4 1 buffer Ljava/nio/ByteBuffer;
0 4 2 pool Ljdk/incubator/http/internal/common/ByteBufferPool;
MethodParameters:
Name Flags
buffer
pool
public java.nio.ByteBuffer get();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.common.ByteBufferReference.buffer:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: getstatic jdk.incubator.http.internal.common.ByteBufferReference.$assertionsDisabled:Z
ifne 2
aload 1
ifnonnull 2
new java.lang.AssertionError
dup
ldc "getting ByteBuffer after clearance"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/common/ByteBufferReference;
1 3 1 buf Ljava/nio/ByteBuffer;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.common.ByteBufferReference.buffer:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: getstatic jdk.incubator.http.internal.common.ByteBufferReference.$assertionsDisabled:Z
ifne 2
aload 1
ifnonnull 2
new java.lang.AssertionError
dup
ldc "double ByteBuffer clearance"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
aconst_null
putfield jdk.incubator.http.internal.common.ByteBufferReference.buffer:Ljava/nio/ByteBuffer;
3: aload 0
getfield jdk.incubator.http.internal.common.ByteBufferReference.pool:Ljdk/incubator/http/internal/common/ByteBufferPool;
ifnull 5
4: aload 0
getfield jdk.incubator.http.internal.common.ByteBufferReference.pool:Ljdk/incubator/http/internal/common/ByteBufferPool;
aload 1
invokevirtual jdk.incubator.http.internal.common.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/internal/common/ByteBufferReference;
1 6 1 buf Ljava/nio/ByteBuffer;
public java.lang.Object get();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.incubator.http.internal.common.ByteBufferReference.get:()Ljava/nio/ByteBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/function/Supplier<Ljava/nio/ByteBuffer;>;
SourceFile: "ByteBufferReference.java"