final class sun.java2d.marlin.ArrayCacheConst$CacheStats
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.java2d.marlin.ArrayCacheConst$CacheStats
super_class: java.lang.Object
{
final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final sun.java2d.marlin.ArrayCacheConst$BucketStats[] bucketStats;
descriptor: [Lsun/java2d/marlin/ArrayCacheConst$BucketStats;
flags: (0x0010) ACC_FINAL
int resize;
descriptor: I
flags: (0x0000)
int oversize;
descriptor: I
flags: (0x0000)
long totalInitial;
descriptor: J
flags: (0x0000)
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.java2d.marlin.ArrayCacheConst$CacheStats.resize:I
2: aload 0
iconst_0
putfield sun.java2d.marlin.ArrayCacheConst$CacheStats.oversize:I
3: aload 0
lconst_0
putfield sun.java2d.marlin.ArrayCacheConst$CacheStats.totalInitial:J
4: aload 0
aload 1
putfield sun.java2d.marlin.ArrayCacheConst$CacheStats.name:Ljava/lang/String;
5: aload 0
bipush 8
anewarray sun.java2d.marlin.ArrayCacheConst$BucketStats
putfield sun.java2d.marlin.ArrayCacheConst$CacheStats.bucketStats:[Lsun/java2d/marlin/ArrayCacheConst$BucketStats;
6: iconst_0
istore 2
start local 2 7: goto 10
8: StackMap locals: sun.java2d.marlin.ArrayCacheConst$CacheStats java.lang.String int
StackMap stack:
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.bucketStats:[Lsun/java2d/marlin/ArrayCacheConst$BucketStats;
iload 2
new sun.java2d.marlin.ArrayCacheConst$BucketStats
dup
invokespecial sun.java2d.marlin.ArrayCacheConst$BucketStats.<init>:()V
aastore
9: iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
bipush 8
if_icmplt 8
end local 2 11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/java2d/marlin/ArrayCacheConst$CacheStats;
0 12 1 name Ljava/lang/String;
7 11 2 i I
MethodParameters:
Name Flags
name final
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.java2d.marlin.ArrayCacheConst$CacheStats.resize:I
1: aload 0
iconst_0
putfield sun.java2d.marlin.ArrayCacheConst$CacheStats.oversize:I
2: iconst_0
istore 1
start local 1 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.bucketStats:[Lsun/java2d/marlin/ArrayCacheConst$BucketStats;
iload 1
aaload
invokevirtual sun.java2d.marlin.ArrayCacheConst$BucketStats.reset:()V
5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
bipush 8
if_icmplt 4
end local 1 7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/java2d/marlin/ArrayCacheConst$CacheStats;
3 7 1 i I
long dumpStats();
descriptor: ()J
flags: (0x0000)
Code:
stack=6, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: getstatic sun.java2d.marlin.ArrayCacheConst.DO_STATS:Z
ifeq 33
2: iconst_0
istore 3
start local 3 3: goto 10
4: StackMap locals: long int
StackMap stack:
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.bucketStats:[Lsun/java2d/marlin/ArrayCacheConst$BucketStats;
iload 3
aaload
astore 4
start local 4 5: aload 4
getfield sun.java2d.marlin.ArrayCacheConst$BucketStats.maxSize:I
ifeq 9
6: lload 1
aload 0
invokevirtual sun.java2d.marlin.ArrayCacheConst$CacheStats.getByteFactor:()I
7: aload 4
getfield sun.java2d.marlin.ArrayCacheConst$BucketStats.maxSize:I
getstatic sun.java2d.marlin.ArrayCacheConst.ARRAY_SIZES:[I
iload 3
iaload
imul
8: imul
i2l
ladd
lstore 1
end local 4 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
bipush 8
if_icmplt 4
end local 3 11: aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.totalInitial:J
lconst_0
lcmp
ifne 13
lload 1
lconst_0
lcmp
ifne 13
12: aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.resize:I
ifne 13
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.oversize:I
ifeq 19
13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": resize: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.resize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
14: ldc " - oversize: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.oversize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
15: ldc " - initial: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.java2d.marlin.ArrayCacheConst$CacheStats.getTotalInitialBytes:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
16: ldc " bytes ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.totalInitial:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " elements)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: ldc " - cache: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.java2d.marlin.MarlinUtils.logInfo:(Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifeq 33
20: new java.lang.StringBuilder
dup
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": usage stats:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.java2d.marlin.MarlinUtils.logInfo:(Ljava/lang/String;)V
21: iconst_0
istore 3
start local 3 22: goto 32
23: StackMap locals: int
StackMap stack:
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.bucketStats:[Lsun/java2d/marlin/ArrayCacheConst$BucketStats;
iload 3
aaload
astore 4
start local 4 24: aload 4
getfield sun.java2d.marlin.ArrayCacheConst$BucketStats.getOp:I
ifeq 31
25: new java.lang.StringBuilder
dup
ldc " Bucket["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.java2d.marlin.ArrayCacheConst.ARRAY_SIZES:[I
iload 3
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: ldc "get: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
getfield sun.java2d.marlin.ArrayCacheConst$BucketStats.getOp:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
27: ldc " - put: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
getfield sun.java2d.marlin.ArrayCacheConst$BucketStats.returnOp:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
28: ldc " - create: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
getfield sun.java2d.marlin.ArrayCacheConst$BucketStats.createOp:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
29: ldc " :: max size: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
getfield sun.java2d.marlin.ArrayCacheConst$BucketStats.maxSize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.java2d.marlin.MarlinUtils.logInfo:(Ljava/lang/String;)V
end local 4 31: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
32: iload 3
bipush 8
if_icmplt 23
end local 3 33: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lsun/java2d/marlin/ArrayCacheConst$CacheStats;
1 34 1 totalCacheBytes J
3 11 3 i I
5 9 4 s Lsun/java2d/marlin/ArrayCacheConst$BucketStats;
22 33 3 i I
24 31 4 s Lsun/java2d/marlin/ArrayCacheConst$BucketStats;
private int getByteFactor();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.name:Ljava/lang/String;
ldc "Int"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 2
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.name:Ljava/lang/String;
ldc "Float"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 3
2: StackMap locals: int
StackMap stack:
iconst_4
istore 1
3: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/java2d/marlin/ArrayCacheConst$CacheStats;
1 4 1 factor I
long getTotalInitialBytes();
descriptor: ()J
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.marlin.ArrayCacheConst$CacheStats.getByteFactor:()I
i2l
aload 0
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.totalInitial:J
lmul
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/marlin/ArrayCacheConst$CacheStats;
}
SourceFile: "ArrayCacheConst.java"
NestHost: sun.java2d.marlin.ArrayCacheConst
InnerClasses:
final BucketStats = sun.java2d.marlin.ArrayCacheConst$BucketStats of sun.java2d.marlin.ArrayCacheConst
final CacheStats = sun.java2d.marlin.ArrayCacheConst$CacheStats of sun.java2d.marlin.ArrayCacheConst