public class org.eclipse.jetty.util.statistic.SampleStatistic
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.statistic.SampleStatistic
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.LongAccumulator _max;
descriptor: Ljava/util/concurrent/atomic/LongAccumulator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong _total;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong _count;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.LongAdder _totalVariance100;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.LongAccumulator
dup
invokedynamic applyAsLong()Ljava/util/function/LongBinaryOperator;
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:
(JJ)J
java/lang/Math.max(JJ)J (6)
(JJ)J
lconst_0
invokespecial java.util.concurrent.atomic.LongAccumulator.<init>:(Ljava/util/function/LongBinaryOperator;J)V
putfield org.eclipse.jetty.util.statistic.SampleStatistic._max:Ljava/util/concurrent/atomic/LongAccumulator;
2: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.eclipse.jetty.util.statistic.SampleStatistic._total:Ljava/util/concurrent/atomic/AtomicLong;
3: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.eclipse.jetty.util.statistic.SampleStatistic._count:Ljava/util/concurrent/atomic/AtomicLong;
4: aload 0
new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putfield org.eclipse.jetty.util.statistic.SampleStatistic._totalVariance100:Ljava/util/concurrent/atomic/LongAdder;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/statistic/SampleStatistic;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._max:Ljava/util/concurrent/atomic/LongAccumulator;
invokevirtual java.util.concurrent.atomic.LongAccumulator.reset:()V
1: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._total:Ljava/util/concurrent/atomic/AtomicLong;
lconst_0
invokevirtual java.util.concurrent.atomic.AtomicLong.set:(J)V
2: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._count:Ljava/util/concurrent/atomic/AtomicLong;
lconst_0
invokevirtual java.util.concurrent.atomic.AtomicLong.set:(J)V
3: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._totalVariance100:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.reset:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/statistic/SampleStatistic;
public void record(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._total:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
lstore 3
start local 3 1: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._count:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
lstore 5
start local 5 2: lload 5
lconst_1
lcmp
ifle 6
3: lload 3
ldc 10
lmul
lload 5
ldiv
lstore 7
start local 7 4: lload 1
ldc 10
lmul
lload 7
lsub
lstore 9
start local 9 5: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._totalVariance100:Ljava/util/concurrent/atomic/LongAdder;
lload 9
lload 9
lmul
invokevirtual java.util.concurrent.atomic.LongAdder.add:(J)V
end local 9 end local 7 6: StackMap locals: long long
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._max:Ljava/util/concurrent/atomic/LongAccumulator;
lload 1
invokevirtual java.util.concurrent.atomic.LongAccumulator.accumulate:(J)V
7: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/statistic/SampleStatistic;
0 8 1 sample J
1 8 3 total J
2 8 5 count J
4 6 7 mean10 J
5 6 9 delta10 J
MethodParameters:
Name Flags
sample
public long getMax();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._max:Ljava/util/concurrent/atomic/LongAccumulator;
invokevirtual java.util.concurrent.atomic.LongAccumulator.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/statistic/SampleStatistic;
public long getTotal();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._total:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/statistic/SampleStatistic;
public long getCount();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._count:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/statistic/SampleStatistic;
public double getMean();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.statistic.SampleStatistic.getCount:()J
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifle 2
aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._total:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
l2d
aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._count:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
l2d
ddiv
goto 3
StackMap locals: long
StackMap stack:
2: dconst_0
StackMap locals:
StackMap stack: double
3: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/statistic/SampleStatistic;
1 4 1 count J
public double getVariance();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.statistic.SampleStatistic._totalVariance100:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.sum:()J
lstore 1
start local 1 1: aload 0
invokevirtual org.eclipse.jetty.util.statistic.SampleStatistic.getCount:()J
lstore 3
start local 3 2: lload 3
lconst_1
lcmp
ifle 3
lload 1
l2d
ldc 100.0
ddiv
lload 3
lconst_1
lsub
l2d
ddiv
goto 4
StackMap locals: long long
StackMap stack:
3: dconst_0
StackMap locals:
StackMap stack: double
4: dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/statistic/SampleStatistic;
1 5 1 variance100 J
2 5 3 count J
public double getStdDev();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.statistic.SampleStatistic.getVariance:()D
invokestatic java.lang.Math.sqrt:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/statistic/SampleStatistic;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "%s@%x{count=%d,mean=%d,total=%d,stddev=%f}"
bipush 6
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
invokevirtual org.eclipse.jetty.util.statistic.SampleStatistic.getCount:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
aload 0
invokevirtual org.eclipse.jetty.util.statistic.SampleStatistic.getMax:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_4
aload 0
invokevirtual org.eclipse.jetty.util.statistic.SampleStatistic.getTotal:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_5
aload 0
invokevirtual org.eclipse.jetty.util.statistic.SampleStatistic.getStdDev:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/statistic/SampleStatistic;
}
SourceFile: "SampleStatistic.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles