final class com.sun.marlin.IntArrayCache$Reference
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.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 com.sun.marlin.IntArrayCache cache;
descriptor: Lcom/sun/marlin/IntArrayCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(com.sun.marlin.IntArrayCache, int);
descriptor: (Lcom/sun/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 com.sun.marlin.IntArrayCache$Reference.cache:Lcom/sun/marlin/IntArrayCache;
2: aload 0
aload 1
getfield com.sun.marlin.IntArrayCache.clean:Z
putfield com.sun.marlin.IntArrayCache$Reference.clean:Z
3: aload 0
iload 2
invokestatic com.sun.marlin.IntArrayCache.createArray:(I)[I
putfield com.sun.marlin.IntArrayCache$Reference.initial:[I
4: getstatic com.sun.marlin.IntArrayCache.DO_STATS:Z
ifeq 6
5: aload 1
getfield com.sun.marlin.IntArrayCache.stats:Lcom/sun/marlin/ArrayCacheConst$CacheStats;
dup
getfield com.sun.marlin.ArrayCacheConst$CacheStats.totalInitial:J
iload 2
i2l
ladd
putfield com.sun.marlin.ArrayCacheConst$CacheStats.totalInitial:J
6: StackMap locals: com.sun.marlin.IntArrayCache$Reference com.sun.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 Lcom/sun/marlin/IntArrayCache$Reference;
0 7 1 cache Lcom/sun/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 com.sun.marlin.ArrayCacheConst.MAX_ARRAY_SIZE:I
if_icmpgt 2
1: aload 0
getfield com.sun.marlin.IntArrayCache$Reference.cache:Lcom/sun/marlin/IntArrayCache;
iload 1
invokevirtual com.sun.marlin.IntArrayCache.getCacheBucket:(I)Lcom/sun/marlin/IntArrayCache$Bucket;
invokevirtual com.sun.marlin.IntArrayCache$Bucket.getArray:()[I
areturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.marlin.IntArrayCache.DO_STATS:Z
ifeq 4
3: aload 0
getfield com.sun.marlin.IntArrayCache$Reference.cache:Lcom/sun/marlin/IntArrayCache;
getfield com.sun.marlin.IntArrayCache.stats:Lcom/sun/marlin/ArrayCacheConst$CacheStats;
dup
getfield com.sun.marlin.ArrayCacheConst$CacheStats.oversize:I
iconst_1
iadd
putfield com.sun.marlin.ArrayCacheConst$CacheStats.oversize:I
4: StackMap locals:
StackMap stack:
getstatic com.sun.marlin.IntArrayCache.DO_LOG_OVERSIZE:Z
ifeq 8
5: new java.lang.StringBuilder
dup
aload 0
getfield com.sun.marlin.IntArrayCache$Reference.clean:Z
invokestatic com.sun.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 com.sun.marlin.MarlinUtils.logInfo:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
iload 1
invokestatic com.sun.marlin.IntArrayCache.createArray:(I)[I
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/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 com.sun.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 com.sun.marlin.IntArrayCache.DO_STATS:Z
ifeq 5
4: aload 0
getfield com.sun.marlin.IntArrayCache$Reference.cache:Lcom/sun/marlin/IntArrayCache;
getfield com.sun.marlin.IntArrayCache.stats:Lcom/sun/marlin/ArrayCacheConst$CacheStats;
dup
getfield com.sun.marlin.ArrayCacheConst$CacheStats.resize:I
iconst_1
iadd
putfield com.sun.marlin.ArrayCacheConst$CacheStats.resize:I
5: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 3
invokestatic com.sun.marlin.ArrayCacheConst.getNewSize:(II)I
invokevirtual com.sun.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 com.sun.marlin.IntArrayCache$Reference.putArray:([III)[I
pop
8: getstatic com.sun.marlin.IntArrayCache.DO_LOG_WIDEN_ARRAY:Z
ifeq 14
9: new java.lang.StringBuilder
dup
aload 0
getfield com.sun.marlin.IntArrayCache$Reference.clean:Z
invokestatic com.sun.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 com.sun.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 Lcom/sun/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 com.sun.marlin.IntArrayCache$Reference.putArray:([III)[I
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/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 com.sun.marlin.ArrayCacheConst.MAX_ARRAY_SIZE:I
if_icmpgt 5
1: aload 0
getfield com.sun.marlin.IntArrayCache$Reference.clean:Z
ifeq 3
iload 3
ifeq 3
2: aload 1
iload 2
iload 3
iconst_0
invokestatic com.sun.marlin.IntArrayCache.fill:([IIII)V
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.sun.marlin.IntArrayCache$Reference.initial:[I
if_acmpeq 5
4: aload 0
getfield com.sun.marlin.IntArrayCache$Reference.cache:Lcom/sun/marlin/IntArrayCache;
aload 1
arraylength
invokevirtual com.sun.marlin.IntArrayCache.getCacheBucket:(I)Lcom/sun/marlin/IntArrayCache$Bucket;
aload 1
invokevirtual com.sun.marlin.IntArrayCache$Bucket.putArray:([I)V
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.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 Lcom/sun/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: com.sun.marlin.IntArrayCache
InnerClasses:
final CacheStats = com.sun.marlin.ArrayCacheConst$CacheStats of com.sun.marlin.ArrayCacheConst
final Bucket = com.sun.marlin.IntArrayCache$Bucket of com.sun.marlin.IntArrayCache
final Reference = com.sun.marlin.IntArrayCache$Reference of com.sun.marlin.IntArrayCache