public final class com.sun.marlin.stats.Histogram extends com.sun.marlin.stats.StatLong
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.marlin.stats.Histogram
super_class: com.sun.marlin.stats.StatLong
{
static final int BUCKET;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int MAX;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 20
static final int LAST;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 19
static final int[] STEPS;
descriptor: [I
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final com.sun.marlin.stats.StatLong[] stats;
descriptor: [Lcom/sun/marlin/stats/StatLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: bipush 20
newarray 10
putstatic com.sun.marlin.stats.Histogram.STEPS:[I
1: getstatic com.sun.marlin.stats.Histogram.STEPS:[I
iconst_0
iconst_0
iastore
2: getstatic com.sun.marlin.stats.Histogram.STEPS:[I
iconst_1
iconst_1
iastore
3: iconst_2
istore 0
start local 0 4: goto 7
5: StackMap locals: int
StackMap stack:
getstatic com.sun.marlin.stats.Histogram.STEPS:[I
iload 0
getstatic com.sun.marlin.stats.Histogram.STEPS:[I
iload 0
iconst_1
isub
iaload
iconst_2
imul
iastore
6: iinc 0 1
StackMap locals:
StackMap stack:
7: iload 0
bipush 20
if_icmplt 5
end local 0 8: return
LocalVariableTable:
Start End Slot Name Signature
4 8 0 i I
static int bucket(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
iload 0
getstatic com.sun.marlin.stats.Histogram.STEPS:[I
iload 1
iaload
if_icmpge 4
3: iload 1
iconst_1
isub
ireturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
bipush 20
if_icmplt 2
end local 1 6: bipush 19
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 val I
1 6 1 i I
MethodParameters:
Name Flags
val
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.marlin.stats.StatLong.<init>:(Ljava/lang/String;)V
1: aload 0
bipush 20
anewarray com.sun.marlin.stats.StatLong
putfield com.sun.marlin.stats.Histogram.stats:[Lcom/sun/marlin/stats/StatLong;
2: iconst_0
istore 2
start local 2 3: goto 11
4: StackMap locals: com.sun.marlin.stats.Histogram java.lang.String int
StackMap stack:
aload 0
getfield com.sun.marlin.stats.Histogram.stats:[Lcom/sun/marlin/stats/StatLong;
iload 2
5: new com.sun.marlin.stats.StatLong
dup
ldc "%5s .. %5s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
getstatic com.sun.marlin.stats.Histogram.STEPS:[I
iload 2
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
6: iload 2
iconst_1
iadd
bipush 20
if_icmpge 7
getstatic com.sun.marlin.stats.Histogram.STEPS:[I
iload 2
iconst_1
iadd
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
goto 8
StackMap locals: com.sun.marlin.stats.Histogram java.lang.String int
StackMap stack: com.sun.marlin.stats.StatLong[] int new 5 new 5 java.lang.String java.lang.Object[] java.lang.Object[] int
7: ldc "~"
StackMap locals: com.sun.marlin.stats.Histogram java.lang.String int
StackMap stack: com.sun.marlin.stats.StatLong[] int new 5 new 5 java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.Comparable
8: aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.sun.marlin.stats.StatLong.<init>:(Ljava/lang/String;)V
aastore
10: iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
bipush 20
if_icmplt 4
end local 2 12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/marlin/stats/Histogram;
0 13 1 name Ljava/lang/String;
3 12 2 i I
MethodParameters:
Name Flags
name final
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial com.sun.marlin.stats.StatLong.reset:()V
1: iconst_0
istore 1
start local 1 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.marlin.stats.Histogram.stats:[Lcom/sun/marlin/stats/StatLong;
iload 1
aaload
invokevirtual com.sun.marlin.stats.StatLong.reset:()V
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
bipush 20
if_icmplt 3
end local 1 6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/marlin/stats/Histogram;
2 6 1 i I
public void add(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial com.sun.marlin.stats.StatLong.add:(I)V
1: aload 0
getfield com.sun.marlin.stats.Histogram.stats:[Lcom/sun/marlin/stats/StatLong;
iload 1
invokestatic com.sun.marlin.stats.Histogram.bucket:(I)I
aaload
iload 1
invokevirtual com.sun.marlin.stats.StatLong.add:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/marlin/stats/Histogram;
0 3 1 val I
MethodParameters:
Name Flags
val
public void add(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
l2i
invokevirtual com.sun.marlin.stats.Histogram.add:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/marlin/stats/Histogram;
0 2 1 val J
MethodParameters:
Name Flags
val
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
sipush 2048
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 0
aload 1
invokespecial com.sun.marlin.stats.StatLong.toString:(Ljava/lang/StringBuilder;)Ljava/lang/StringBuilder;
ldc " { "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
getfield com.sun.marlin.stats.Histogram.stats:[Lcom/sun/marlin/stats/StatLong;
iload 2
aaload
getfield com.sun.marlin.stats.StatLong.count:J
lconst_0
lcmp
ifeq 6
5: aload 1
ldc "\n "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.marlin.stats.Histogram.stats:[Lcom/sun/marlin/stats/StatLong;
iload 2
aaload
invokevirtual com.sun.marlin.stats.StatLong.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
bipush 20
if_icmplt 4
end local 2 8: aload 1
ldc " }"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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 Lcom/sun/marlin/stats/Histogram;
1 9 1 sb Ljava/lang/StringBuilder;
3 8 2 i I
}
SourceFile: "Histogram.java"