class org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicLong[] values;
descriptor: [Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int size;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final org.apache.commons.pool2.impl.BaseGenericObjectPool this$0;
descriptor: Lorg/apache/commons/pool2/impl/BaseGenericObjectPool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.apache.commons.pool2.impl.BaseGenericObjectPool, int);
descriptor: (Lorg/apache/commons/pool2/impl/BaseGenericObjectPool;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.this$0:Lorg/apache/commons/pool2/impl/BaseGenericObjectPool;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 2
putfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.size:I
2: aload 0
iload 2
anewarray java.util.concurrent.atomic.AtomicLong
putfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.values:[Ljava/util/concurrent/atomic/AtomicLong;
3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore org.apache.commons.pool2.impl.BaseGenericObjectPool int int
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.values:[Ljava/util/concurrent/atomic/AtomicLong;
iload 3
new java.util.concurrent.atomic.AtomicLong
dup
ldc -1
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
aastore
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 5
end local 3 8: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$StatsStore;
0 9 2 size I
4 8 3 i I
MethodParameters:
Name Flags
this$0 final
size final
public synchronized void add(long);
descriptor: (J)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.values:[Ljava/util/concurrent/atomic/AtomicLong;
aload 0
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.index:I
aaload
lload 1
invokevirtual java.util.concurrent.atomic.AtomicLong.set:(J)V
1: aload 0
dup
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.index:I
iconst_1
iadd
putfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.index:I
2: aload 0
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.index:I
aload 0
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.size:I
if_icmpne 4
3: aload 0
iconst_0
putfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.index:I
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$StatsStore;
0 5 1 value J
MethodParameters:
Name Flags
value final
public long getMean();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: dconst_0
dstore 1
start local 1 1: iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 11
4: StackMap locals: double int int
StackMap stack:
aload 0
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.values:[Ljava/util/concurrent/atomic/AtomicLong;
iload 4
aaload
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 5
start local 5 5: lload 5
ldc -1
lcmp
ifeq 10
6: iinc 3 1
7: dload 1
iload 3
iconst_1
isub
i2d
iload 3
i2d
ddiv
dmul
8: lload 5
l2d
iload 3
i2d
ddiv
9: dadd
dstore 1
end local 5 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 0
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.size:I
if_icmplt 4
end local 4 12: dload 1
d2l
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$StatsStore;
1 13 1 result D
2 13 3 counter I
3 12 4 i I
5 10 5 value J
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "StatsStore [values="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.values:[Ljava/util/concurrent/atomic/AtomicLong;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc ", size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.size:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc ", index="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
getfield org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore.index:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$StatsStore;
1 9 1 builder Ljava/lang/StringBuilder;
}
SourceFile: "BaseGenericObjectPool.java"
NestHost: org.apache.commons.pool2.impl.BaseGenericObjectPool
InnerClasses:
private StatsStore = org.apache.commons.pool2.impl.BaseGenericObjectPool$StatsStore of org.apache.commons.pool2.impl.BaseGenericObjectPool