abstract class org.eclipse.jetty.io.AbstractByteBufferPool implements org.eclipse.jetty.io.ByteBufferPool
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.jetty.io.AbstractByteBufferPool
super_class: java.lang.Object
{
private final int _factor;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int _maxQueueLength;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long _maxHeapMemory;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong _heapMemory;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long _maxDirectMemory;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong _directMemory;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(int, int, long, long);
descriptor: (IIJJ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.eclipse.jetty.io.AbstractByteBufferPool._heapMemory:Ljava/util/concurrent/atomic/AtomicLong;
2: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.eclipse.jetty.io.AbstractByteBufferPool._directMemory:Ljava/util/concurrent/atomic/AtomicLong;
3: aload 0
iload 1
ifgt 4
sipush 1024
goto 5
StackMap locals: org.eclipse.jetty.io.AbstractByteBufferPool int int long long
StackMap stack: org.eclipse.jetty.io.AbstractByteBufferPool
4: iload 1
StackMap locals: org.eclipse.jetty.io.AbstractByteBufferPool int int long long
StackMap stack: org.eclipse.jetty.io.AbstractByteBufferPool int
5: putfield org.eclipse.jetty.io.AbstractByteBufferPool._factor:I
6: aload 0
iload 2
putfield org.eclipse.jetty.io.AbstractByteBufferPool._maxQueueLength:I
7: aload 0
lload 3
putfield org.eclipse.jetty.io.AbstractByteBufferPool._maxHeapMemory:J
8: aload 0
lload 5
putfield org.eclipse.jetty.io.AbstractByteBufferPool._maxDirectMemory:J
9: return
end local 5 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/AbstractByteBufferPool;
0 10 1 factor I
0 10 2 maxQueueLength I
0 10 3 maxHeapMemory J
0 10 5 maxDirectMemory J
MethodParameters:
Name Flags
factor
maxQueueLength
maxHeapMemory
maxDirectMemory
protected int getCapacityFactor();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.AbstractByteBufferPool._factor:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/AbstractByteBufferPool;
protected int getMaxQueueLength();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.AbstractByteBufferPool._maxQueueLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/AbstractByteBufferPool;
protected void decrementMemory(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.eclipse.jetty.io.AbstractByteBufferPool.updateMemory:(Ljava/nio/ByteBuffer;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/AbstractByteBufferPool;
0 2 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
protected void incrementMemory(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.eclipse.jetty.io.AbstractByteBufferPool.updateMemory:(Ljava/nio/ByteBuffer;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/io/AbstractByteBufferPool;
0 2 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
private void updateMemory(java.nio.ByteBuffer, boolean);
descriptor: (Ljava/nio/ByteBuffer;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifeq 1
aload 0
getfield org.eclipse.jetty.io.AbstractByteBufferPool._directMemory:Ljava/util/concurrent/atomic/AtomicLong;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jetty.io.AbstractByteBufferPool._heapMemory:Ljava/util/concurrent/atomic/AtomicLong;
StackMap locals:
StackMap stack: java.util.concurrent.atomic.AtomicLong
2: astore 3
start local 3 3: aload 1
invokevirtual java.nio.ByteBuffer.capacity:()I
istore 4
start local 4 4: aload 3
iload 2
ifeq 5
iload 4
goto 6
StackMap locals: org.eclipse.jetty.io.AbstractByteBufferPool java.nio.ByteBuffer int java.util.concurrent.atomic.AtomicLong int
StackMap stack: java.util.concurrent.atomic.AtomicLong
5: iload 4
ineg
StackMap locals: org.eclipse.jetty.io.AbstractByteBufferPool java.nio.ByteBuffer int java.util.concurrent.atomic.AtomicLong int
StackMap stack: java.util.concurrent.atomic.AtomicLong int
6: i2l
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
pop2
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/io/AbstractByteBufferPool;
0 8 1 buffer Ljava/nio/ByteBuffer;
0 8 2 addOrSub Z
3 8 3 memory Ljava/util/concurrent/atomic/AtomicLong;
4 8 4 capacity I
MethodParameters:
Name Flags
buffer
addOrSub
protected void releaseExcessMemory(boolean, java.util.function.Consumer<java.lang.Boolean>);
descriptor: (ZLjava/util/function/Consumer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifeq 1
aload 0
getfield org.eclipse.jetty.io.AbstractByteBufferPool._maxDirectMemory:J
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jetty.io.AbstractByteBufferPool._maxHeapMemory:J
StackMap locals:
StackMap stack: long
2: lstore 3
start local 3 3: lload 3
lconst_0
lcmp
ifle 7
4: goto 6
5: StackMap locals: long
StackMap stack:
aload 2
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual org.eclipse.jetty.io.AbstractByteBufferPool.getMemory:(Z)J
lload 3
lcmp
ifgt 5
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/io/AbstractByteBufferPool;
0 8 1 direct Z
0 8 2 clearFn Ljava/util/function/Consumer<Ljava/lang/Boolean;>;
3 8 3 maxMemory J
Signature: (ZLjava/util/function/Consumer<Ljava/lang/Boolean;>;)V
MethodParameters:
Name Flags
direct
clearFn
public long getDirectMemory();
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.AbstractByteBufferPool.getMemory:(Z)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/AbstractByteBufferPool;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "The bytes retained by direct ByteBuffers")
public long getHeapMemory();
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.AbstractByteBufferPool.getMemory:(Z)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/AbstractByteBufferPool;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "The bytes retained by heap ByteBuffers")
public long getMemory(boolean);
descriptor: (Z)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
aload 0
getfield org.eclipse.jetty.io.AbstractByteBufferPool._directMemory:Ljava/util/concurrent/atomic/AtomicLong;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jetty.io.AbstractByteBufferPool._heapMemory:Ljava/util/concurrent/atomic/AtomicLong;
StackMap locals:
StackMap stack: java.util.concurrent.atomic.AtomicLong
2: astore 2
start local 2 3: aload 2
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/io/AbstractByteBufferPool;
0 4 1 direct Z
3 4 2 memory Ljava/util/concurrent/atomic/AtomicLong;
MethodParameters:
Name Flags
direct
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.AbstractByteBufferPool._heapMemory:Ljava/util/concurrent/atomic/AtomicLong;
lconst_0
invokevirtual java.util.concurrent.atomic.AtomicLong.set:(J)V
1: aload 0
getfield org.eclipse.jetty.io.AbstractByteBufferPool._directMemory:Ljava/util/concurrent/atomic/AtomicLong;
lconst_0
invokevirtual java.util.concurrent.atomic.AtomicLong.set:(J)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/io/AbstractByteBufferPool;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedOperation(value = "Clears this ByteBufferPool", impact = "ACTION")
}
SourceFile: "AbstractByteBufferPool.java"
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedObject()