public class org.eclipse.jetty.io.ArrayByteBufferPool extends org.eclipse.jetty.io.AbstractByteBufferPool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.io.ArrayByteBufferPool
super_class: org.eclipse.jetty.io.AbstractByteBufferPool
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final int _minCapacity;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.io.ByteBufferPool$Bucket[] _direct;
descriptor: [Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.io.ByteBufferPool$Bucket[] _indirect;
descriptor: [Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/io/MappedByteBufferPool;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.io.ArrayByteBufferPool.LOG:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_m1
iconst_m1
iconst_m1
invokespecial org.eclipse.jetty.io.ArrayByteBufferPool.<init>:(III)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
public void <init>(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
iload 3
iconst_m1
ldc -1
ldc -1
invokespecial org.eclipse.jetty.io.ArrayByteBufferPool.<init>:(IIIIJJ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 2 1 minCapacity I
0 2 2 factor I
0 2 3 maxCapacity I
MethodParameters:
Name Flags
minCapacity
factor
maxCapacity
public void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
ldc -1
ldc -1
invokespecial org.eclipse.jetty.io.ArrayByteBufferPool.<init>:(IIIIJJ)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 2 1 minCapacity I
0 2 2 factor I
0 2 3 maxCapacity I
0 2 4 maxQueueLength I
MethodParameters:
Name Flags
minCapacity
factor
maxCapacity
maxQueueLength
public void <init>(int, int, int, int, long, long);
descriptor: (IIIIJJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aload 0
iload 2
iload 4
lload 5
lload 7
invokespecial org.eclipse.jetty.io.AbstractByteBufferPool.<init>:(IIJJ)V
1: aload 0
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.getCapacityFactor:()I
istore 2
2: iload 1
ifgt 4
3: iconst_0
istore 1
4: StackMap locals: org.eclipse.jetty.io.ArrayByteBufferPool int int int int long long
StackMap stack:
iload 3
ifgt 6
5: ldc 65536
istore 3
6: StackMap locals:
StackMap stack:
iload 3
iload 2
irem
ifne 7
iload 2
iload 3
if_icmplt 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "The capacity factor must be a divisor of maxCapacity"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.eclipse.jetty.io.ArrayByteBufferPool._minCapacity:I
9: iload 3
iload 2
idiv
istore 9
start local 9 10: aload 0
iload 9
anewarray org.eclipse.jetty.io.ByteBufferPool$Bucket
putfield org.eclipse.jetty.io.ArrayByteBufferPool._direct:[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
11: aload 0
iload 9
anewarray org.eclipse.jetty.io.ByteBufferPool$Bucket
putfield org.eclipse.jetty.io.ArrayByteBufferPool._indirect:[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
12: return
end local 9 end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 13 1 minCapacity I
0 13 2 factor I
0 13 3 maxCapacity I
0 13 4 maxQueueLength I
0 13 5 maxHeapMemory J
0 13 7 maxDirectMemory J
10 13 9 length I
MethodParameters:
Name Flags
minCapacity
factor
maxCapacity
maxQueueLength
maxHeapMemory
maxDirectMemory
public java.nio.ByteBuffer acquire(int, boolean);
descriptor: (IZ)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield org.eclipse.jetty.io.ArrayByteBufferPool._minCapacity:I
if_icmpge 1
iload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
iload 1
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.bucketFor:(I)I
iconst_1
iadd
aload 0
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.getCapacityFactor:()I
imul
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: aload 0
iload 1
iload 2
aconst_null
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.bucketFor:(IZLjava/util/function/IntFunction;)Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
astore 4
start local 4 4: aload 4
ifnonnull 6
5: aload 0
iload 3
iload 2
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.newByteBuffer:(IZ)Ljava/nio/ByteBuffer;
areturn
6: StackMap locals: int org.eclipse.jetty.io.ByteBufferPool$Bucket
StackMap stack:
aload 4
invokevirtual org.eclipse.jetty.io.ByteBufferPool$Bucket.acquire:()Ljava/nio/ByteBuffer;
astore 5
start local 5 7: aload 5
ifnonnull 9
8: aload 0
iload 3
iload 2
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.newByteBuffer:(IZ)Ljava/nio/ByteBuffer;
areturn
9: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
aload 5
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.decrementMemory:(Ljava/nio/ByteBuffer;)V
10: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 11 1 size I
0 11 2 direct Z
3 11 3 capacity I
4 11 4 bucket Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
7 11 5 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
size
direct
public void release(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.capacity:()I
istore 2
start local 2 3: iload 2
aload 0
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.getCapacityFactor:()I
irem
ifeq 7
4: getstatic org.eclipse.jetty.io.ArrayByteBufferPool.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 6
5: getstatic org.eclipse.jetty.io.ArrayByteBufferPool.LOG:Lorg/slf4j/Logger;
ldc "ByteBuffer {} does not belong to this pool, discarding it"
aload 1
invokestatic org.eclipse.jetty.util.BufferUtil.toDetailString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
6: StackMap locals: int
StackMap stack:
return
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.isDirect:()Z
istore 3
start local 3 8: aload 0
iload 2
iload 3
aload 0
invokedynamic apply(Lorg/eclipse/jetty/io/ArrayByteBufferPool;)Ljava/util/function/IntFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(I)Ljava/lang/Object;
org/eclipse/jetty/io/ArrayByteBufferPool.newBucket(I)Lorg/eclipse/jetty/io/ByteBufferPool$Bucket; (7)
(I)Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.bucketFor:(IZLjava/util/function/IntFunction;)Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
astore 4
start local 4 9: aload 4
ifnull 13
10: aload 4
aload 1
invokevirtual org.eclipse.jetty.io.ByteBufferPool$Bucket.release:(Ljava/nio/ByteBuffer;)V
11: aload 0
aload 1
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.incrementMemory:(Ljava/nio/ByteBuffer;)V
12: aload 0
iload 3
aload 0
invokedynamic accept(Lorg/eclipse/jetty/io/ArrayByteBufferPool;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/eclipse/jetty/io/ArrayByteBufferPool.clearOldestBucket(Z)V (7)
(Ljava/lang/Boolean;)V
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.releaseExcessMemory:(ZLjava/util/function/Consumer;)V
13: StackMap locals: int org.eclipse.jetty.io.ByteBufferPool$Bucket
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 14 1 buffer Ljava/nio/ByteBuffer;
3 14 2 capacity I
8 14 3 direct Z
9 14 4 bucket Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
MethodParameters:
Name Flags
buffer
private org.eclipse.jetty.io.ByteBufferPool$Bucket newBucket(int);
descriptor: (I)Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.eclipse.jetty.io.ByteBufferPool$Bucket
dup
iload 1
aload 0
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.getCapacityFactor:()I
imul
aload 0
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.getMaxQueueLength:()I
invokespecial org.eclipse.jetty.io.ByteBufferPool$Bucket.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 1 1 key I
MethodParameters:
Name Flags
key
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.io.AbstractByteBufferPool.clear:()V
1: iconst_0
istore 1
start local 1 2: goto 12
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ArrayByteBufferPool._direct:[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
iload 1
aaload
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
invokevirtual org.eclipse.jetty.io.ByteBufferPool$Bucket.clear:()V
6: StackMap locals: org.eclipse.jetty.io.ByteBufferPool$Bucket
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ArrayByteBufferPool._direct:[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
iload 1
aconst_null
aastore
7: aload 0
getfield org.eclipse.jetty.io.ArrayByteBufferPool._indirect:[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
iload 1
aaload
astore 2
8: aload 2
ifnull 10
9: aload 2
invokevirtual org.eclipse.jetty.io.ByteBufferPool$Bucket.clear:()V
10: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ArrayByteBufferPool._indirect:[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
iload 1
aconst_null
aastore
end local 2 11: iinc 1 1
StackMap locals:
StackMap stack:
12: iload 1
aload 0
getfield org.eclipse.jetty.io.ArrayByteBufferPool._direct:[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
arraylength
if_icmplt 3
end local 1 13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
2 13 1 i I
4 11 2 bucket Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
private void clearOldestBucket(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: ldc 9223372036854775807
lstore 2
start local 2 1: iconst_m1
istore 4
start local 4 2: aload 0
iload 1
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.bucketsFor:(Z)[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 13
5: StackMap locals: org.eclipse.jetty.io.ArrayByteBufferPool int long int org.eclipse.jetty.io.ByteBufferPool$Bucket[] int
StackMap stack:
aload 5
iload 6
aaload
astore 7
start local 7 6: aload 7
ifnonnull 8
7: goto 12
8: StackMap locals: org.eclipse.jetty.io.ByteBufferPool$Bucket
StackMap stack:
aload 7
invokevirtual org.eclipse.jetty.io.ByteBufferPool$Bucket.getLastUpdate:()J
lstore 8
start local 8 9: lload 8
lload 2
lcmp
ifge 12
10: lload 8
lstore 2
11: iload 6
istore 4
end local 8 end local 7 12: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
aload 5
arraylength
if_icmplt 5
end local 6 14: iload 4
iflt 19
15: aload 5
iload 4
aaload
astore 6
start local 6 16: aload 5
iload 4
aconst_null
aastore
17: aload 6
ifnull 19
18: aload 6
aload 0
invokedynamic accept(Lorg/eclipse/jetty/io/ArrayByteBufferPool;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/eclipse/jetty/io/AbstractByteBufferPool.decrementMemory(Ljava/nio/ByteBuffer;)V (5)
(Ljava/nio/ByteBuffer;)V
invokevirtual org.eclipse.jetty.io.ByteBufferPool$Bucket.clear:(Ljava/util/function/Consumer;)V
end local 6 19: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 20 1 direct Z
1 20 2 oldest J
2 20 4 index I
3 20 5 buckets [Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
4 14 6 i I
6 12 7 bucket Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
9 12 8 lastUpdate J
16 19 6 bucket Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
MethodParameters:
Name Flags
direct
private int bucketFor(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
isub
aload 0
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.getCapacityFactor:()I
idiv
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 1 1 capacity I
MethodParameters:
Name Flags
capacity
private org.eclipse.jetty.io.ByteBufferPool$Bucket bucketFor(int, boolean, java.util.function.IntFunction<org.eclipse.jetty.io.ByteBufferPool$Bucket>);
descriptor: (IZLjava/util/function/IntFunction;)Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
aload 0
getfield org.eclipse.jetty.io.ArrayByteBufferPool._minCapacity:I
if_icmpge 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.bucketFor:(I)I
istore 4
start local 4 3: iload 4
aload 0
getfield org.eclipse.jetty.io.ArrayByteBufferPool._direct:[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
arraylength
if_icmplt 5
4: aconst_null
areturn
5: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.bucketsFor:(Z)[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
astore 5
start local 5 6: aload 5
iload 4
aaload
astore 6
start local 6 7: aload 6
ifnonnull 9
aload 3
ifnull 9
8: aload 5
iload 4
aload 3
iload 4
iconst_1
iadd
invokeinterface java.util.function.IntFunction.apply:(I)Ljava/lang/Object;
checkcast org.eclipse.jetty.io.ByteBufferPool$Bucket
dup
astore 6
aastore
9: StackMap locals: org.eclipse.jetty.io.ByteBufferPool$Bucket[] org.eclipse.jetty.io.ByteBufferPool$Bucket
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 10 1 capacity I
0 10 2 direct Z
0 10 3 newBucket Ljava/util/function/IntFunction<Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;>;
3 10 4 b I
6 10 5 buckets [Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
7 10 6 bucket Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
Signature: (IZLjava/util/function/IntFunction<Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;>;)Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
MethodParameters:
Name Flags
capacity
direct
newBucket
public long getDirectByteBufferCount();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.getByteBufferCount:(Z)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "The number of pooled direct ByteBuffers")
public long getHeapByteBufferCount();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.getByteBufferCount:(Z)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "The number of pooled heap ByteBuffers")
private long getByteBufferCount(boolean);
descriptor: (Z)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual org.eclipse.jetty.io.ArrayByteBufferPool.bucketsFor:(Z)[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
1: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
java/util/Objects.nonNull(Ljava/lang/Object;)Z (6)
(Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: invokedynamic applyAsLong()Ljava/util/function/ToLongFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)J
org/eclipse/jetty/io/ByteBufferPool$Bucket.size()I (5)
(Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;)J
invokeinterface java.util.stream.Stream.mapToLong:(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;
3: invokeinterface java.util.stream.LongStream.sum:()J
4: lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 5 1 direct Z
MethodParameters:
Name Flags
direct
org.eclipse.jetty.io.ByteBufferPool$Bucket[] bucketsFor(boolean);
descriptor: (Z)[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
aload 0
getfield org.eclipse.jetty.io.ArrayByteBufferPool._direct:[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jetty.io.ArrayByteBufferPool._indirect:[Lorg/eclipse/jetty/io/ByteBufferPool$Bucket;
StackMap locals:
StackMap stack: org.eclipse.jetty.io.ByteBufferPool$Bucket[]
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/io/ArrayByteBufferPool;
0 3 1 direct Z
MethodParameters:
Name Flags
direct
public long getMemory(boolean);
descriptor: (Z)J
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokespecial org.eclipse.jetty.io.AbstractByteBufferPool.getMemory:(Z)J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public long getDirectMemory();
descriptor: ()J
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
invokespecial org.eclipse.jetty.io.AbstractByteBufferPool.getDirectMemory:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public long getHeapMemory();
descriptor: ()J
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
invokespecial org.eclipse.jetty.io.AbstractByteBufferPool.getHeapMemory:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ArrayByteBufferPool.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Bucket = org.eclipse.jetty.io.ByteBufferPool$Bucket of org.eclipse.jetty.io.ByteBufferPool
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedObject()