final class sun.java2d.marlin.IntArrayCache$Reference
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.java2d.marlin.IntArrayCache$Reference
super_class: java.lang.Object
{
final int[] initial;
descriptor: [I
flags: (0x0010) ACC_FINAL
private final boolean clean;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.java2d.marlin.IntArrayCache cache;
descriptor: Lsun/java2d/marlin/IntArrayCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.java2d.marlin.IntArrayCache, int);
descriptor: (Lsun/java2d/marlin/IntArrayCache;I)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.java2d.marlin.IntArrayCache$Reference.cache:Lsun/java2d/marlin/IntArrayCache;
2: aload 0
aload 1
getfield sun.java2d.marlin.IntArrayCache.clean:Z
putfield sun.java2d.marlin.IntArrayCache$Reference.clean:Z
3: aload 0
iload 2
aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.clean:Z
invokestatic sun.java2d.marlin.IntArrayCache.createArray:(IZ)[I
putfield sun.java2d.marlin.IntArrayCache$Reference.initial:[I
4: getstatic sun.java2d.marlin.IntArrayCache.DO_STATS:Z
ifeq 6
5: aload 1
getfield sun.java2d.marlin.IntArrayCache.stats:Lsun/java2d/marlin/ArrayCacheConst$CacheStats;
dup
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.totalInitial:J
iload 2
i2l
ladd
putfield sun.java2d.marlin.ArrayCacheConst$CacheStats.totalInitial:J
6: StackMap locals: sun.java2d.marlin.IntArrayCache$Reference sun.java2d.marlin.IntArrayCache int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/marlin/IntArrayCache$Reference;
0 7 1 cache Lsun/java2d/marlin/IntArrayCache;
0 7 2 initialSize I
MethodParameters:
Name Flags
cache final
initialSize final
int[] getArray(int);
descriptor: (I)[I
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
getstatic sun.java2d.marlin.ArrayCacheConst.MAX_ARRAY_SIZE:I
if_icmpgt 2
1: aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.cache:Lsun/java2d/marlin/IntArrayCache;
iload 1
invokevirtual sun.java2d.marlin.IntArrayCache.getCacheBucket:(I)Lsun/java2d/marlin/IntArrayCache$Bucket;
invokevirtual sun.java2d.marlin.IntArrayCache$Bucket.getArray:()[I
areturn
2: StackMap locals:
StackMap stack:
getstatic sun.java2d.marlin.IntArrayCache.DO_STATS:Z
ifeq 4
3: aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.cache:Lsun/java2d/marlin/IntArrayCache;
getfield sun.java2d.marlin.IntArrayCache.stats:Lsun/java2d/marlin/ArrayCacheConst$CacheStats;
dup
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.oversize:I
iconst_1
iadd
putfield sun.java2d.marlin.ArrayCacheConst$CacheStats.oversize:I
4: StackMap locals:
StackMap stack:
getstatic sun.java2d.marlin.IntArrayCache.DO_LOG_OVERSIZE:Z
ifeq 8
5: new java.lang.StringBuilder
dup
aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.clean:Z
invokestatic sun.java2d.marlin.IntArrayCache.getLogPrefix:(Z)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "IntArrayCache: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "getArray[oversize]: length=\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.java2d.marlin.MarlinUtils.logInfo:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.clean:Z
invokestatic sun.java2d.marlin.IntArrayCache.createArray:(IZ)[I
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/java2d/marlin/IntArrayCache$Reference;
0 9 1 length I
MethodParameters:
Name Flags
length final
int[] widenArray(int[], int, int);
descriptor: ([III)[I
flags: (0x0000)
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
arraylength
istore 4
start local 4 1: getstatic sun.java2d.marlin.IntArrayCache.DO_CHECKS:Z
ifeq 3
iload 4
iload 3
if_icmplt 3
2: aload 1
areturn
3: StackMap locals: int
StackMap stack:
getstatic sun.java2d.marlin.IntArrayCache.DO_STATS:Z
ifeq 5
4: aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.cache:Lsun/java2d/marlin/IntArrayCache;
getfield sun.java2d.marlin.IntArrayCache.stats:Lsun/java2d/marlin/ArrayCacheConst$CacheStats;
dup
getfield sun.java2d.marlin.ArrayCacheConst$CacheStats.resize:I
iconst_1
iadd
putfield sun.java2d.marlin.ArrayCacheConst$CacheStats.resize:I
5: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 3
invokestatic sun.java2d.marlin.ArrayCacheConst.getNewSize:(II)I
invokevirtual sun.java2d.marlin.IntArrayCache$Reference.getArray:(I)[I
astore 5
start local 5 6: aload 1
iconst_0
aload 5
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
aload 1
iconst_0
iload 2
invokevirtual sun.java2d.marlin.IntArrayCache$Reference.putArray:([III)[I
pop
8: getstatic sun.java2d.marlin.IntArrayCache.DO_LOG_WIDEN_ARRAY:Z
ifeq 14
9: new java.lang.StringBuilder
dup
aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.clean:Z
invokestatic sun.java2d.marlin.IntArrayCache.getLogPrefix:(Z)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "IntArrayCache: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc "widenArray["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
11: ldc "]: usedSize=\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "\tlength=\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
12: ldc "\tneeded length=\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.java2d.marlin.MarlinUtils.logInfo:(Ljava/lang/String;)V
14: StackMap locals: int[]
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/java2d/marlin/IntArrayCache$Reference;
0 15 1 array [I
0 15 2 usedSize I
0 15 3 needSize I
1 15 4 length I
6 15 5 res [I
MethodParameters:
Name Flags
array final
usedSize final
needSize final
int[] putArray(int[]);
descriptor: ([I)[I
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.java2d.marlin.IntArrayCache$Reference.putArray:([III)[I
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/marlin/IntArrayCache$Reference;
0 1 1 array [I
MethodParameters:
Name Flags
array final
int[] putArray(int[], int, int);
descriptor: ([III)[I
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
arraylength
getstatic sun.java2d.marlin.ArrayCacheConst.MAX_ARRAY_SIZE:I
if_icmpgt 5
1: aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.clean:Z
ifeq 3
iload 3
ifeq 3
2: aload 1
iload 2
iload 3
iconst_0
invokestatic sun.java2d.marlin.IntArrayCache.fill:([IIII)V
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.initial:[I
if_acmpeq 5
4: aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.cache:Lsun/java2d/marlin/IntArrayCache;
aload 1
arraylength
invokevirtual sun.java2d.marlin.IntArrayCache.getCacheBucket:(I)Lsun/java2d/marlin/IntArrayCache$Bucket;
aload 1
invokevirtual sun.java2d.marlin.IntArrayCache$Bucket.putArray:([I)V
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.marlin.IntArrayCache$Reference.initial:[I
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/java2d/marlin/IntArrayCache$Reference;
0 6 1 array [I
0 6 2 fromIndex I
0 6 3 toIndex I
MethodParameters:
Name Flags
array final
fromIndex final
toIndex final
}
SourceFile: "IntArrayCache.java"
NestHost: sun.java2d.marlin.IntArrayCache
InnerClasses:
final CacheStats = sun.java2d.marlin.ArrayCacheConst$CacheStats of sun.java2d.marlin.ArrayCacheConst
final Bucket = sun.java2d.marlin.IntArrayCache$Bucket of sun.java2d.marlin.IntArrayCache
final Reference = sun.java2d.marlin.IntArrayCache$Reference of sun.java2d.marlin.IntArrayCache