final class sun.java2d.marlin.FloatArrayCache$Reference
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.java2d.marlin.FloatArrayCache$Reference
super_class: java.lang.Object
{
final float[] initial;
descriptor: [F
flags: (0x0010) ACC_FINAL
private final boolean clean;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.java2d.marlin.FloatArrayCache cache;
descriptor: Lsun/java2d/marlin/FloatArrayCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.java2d.marlin.FloatArrayCache, int);
descriptor: (Lsun/java2d/marlin/FloatArrayCache;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.FloatArrayCache$Reference.cache:Lsun/java2d/marlin/FloatArrayCache;
2: aload 0
aload 1
getfield sun.java2d.marlin.FloatArrayCache.clean:Z
putfield sun.java2d.marlin.FloatArrayCache$Reference.clean:Z
3: aload 0
iload 2
aload 0
getfield sun.java2d.marlin.FloatArrayCache$Reference.clean:Z
invokestatic sun.java2d.marlin.FloatArrayCache.createArray:(IZ)[F
putfield sun.java2d.marlin.FloatArrayCache$Reference.initial:[F
4: getstatic sun.java2d.marlin.FloatArrayCache.DO_STATS:Z
ifeq 6
5: aload 1
getfield sun.java2d.marlin.FloatArrayCache.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.FloatArrayCache$Reference sun.java2d.marlin.FloatArrayCache 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/FloatArrayCache$Reference;
0 7 1 cache Lsun/java2d/marlin/FloatArrayCache;
0 7 2 initialSize I
MethodParameters:
Name Flags
cache final
initialSize final
float[] getArray(int);
descriptor: (I)[F
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.FloatArrayCache$Reference.cache:Lsun/java2d/marlin/FloatArrayCache;
iload 1
invokevirtual sun.java2d.marlin.FloatArrayCache.getCacheBucket:(I)Lsun/java2d/marlin/FloatArrayCache$Bucket;
invokevirtual sun.java2d.marlin.FloatArrayCache$Bucket.getArray:()[F
areturn
2: StackMap locals:
StackMap stack:
getstatic sun.java2d.marlin.FloatArrayCache.DO_STATS:Z
ifeq 4
3: aload 0
getfield sun.java2d.marlin.FloatArrayCache$Reference.cache:Lsun/java2d/marlin/FloatArrayCache;
getfield sun.java2d.marlin.FloatArrayCache.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.FloatArrayCache.DO_LOG_OVERSIZE:Z
ifeq 8
5: new java.lang.StringBuilder
dup
aload 0
getfield sun.java2d.marlin.FloatArrayCache$Reference.clean:Z
invokestatic sun.java2d.marlin.FloatArrayCache.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 "FloatArrayCache: "
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.FloatArrayCache$Reference.clean:Z
invokestatic sun.java2d.marlin.FloatArrayCache.createArray:(IZ)[F
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/java2d/marlin/FloatArrayCache$Reference;
0 9 1 length I
MethodParameters:
Name Flags
length final
float[] widenArray(float[], int, int);
descriptor: ([FII)[F
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.FloatArrayCache.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.FloatArrayCache.DO_STATS:Z
ifeq 5
4: aload 0
getfield sun.java2d.marlin.FloatArrayCache$Reference.cache:Lsun/java2d/marlin/FloatArrayCache;
getfield sun.java2d.marlin.FloatArrayCache.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.FloatArrayCache$Reference.getArray:(I)[F
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.FloatArrayCache$Reference.putArray:([FII)[F
pop
8: getstatic sun.java2d.marlin.FloatArrayCache.DO_LOG_WIDEN_ARRAY:Z
ifeq 14
9: new java.lang.StringBuilder
dup
aload 0
getfield sun.java2d.marlin.FloatArrayCache$Reference.clean:Z
invokestatic sun.java2d.marlin.FloatArrayCache.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 "FloatArrayCache: "
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: float[]
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/FloatArrayCache$Reference;
0 15 1 array [F
0 15 2 usedSize I
0 15 3 needSize I
1 15 4 length I
6 15 5 res [F
MethodParameters:
Name Flags
array final
usedSize final
needSize final
float[] putArray(float[]);
descriptor: ([F)[F
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.FloatArrayCache$Reference.putArray:([FII)[F
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/marlin/FloatArrayCache$Reference;
0 1 1 array [F
MethodParameters:
Name Flags
array final
float[] putArray(float[], int, int);
descriptor: ([FII)[F
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.FloatArrayCache$Reference.clean:Z
ifeq 3
iload 3
ifeq 3
2: aload 1
iload 2
iload 3
fconst_0
invokestatic sun.java2d.marlin.FloatArrayCache.fill:([FIIF)V
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.java2d.marlin.FloatArrayCache$Reference.initial:[F
if_acmpeq 5
4: aload 0
getfield sun.java2d.marlin.FloatArrayCache$Reference.cache:Lsun/java2d/marlin/FloatArrayCache;
aload 1
arraylength
invokevirtual sun.java2d.marlin.FloatArrayCache.getCacheBucket:(I)Lsun/java2d/marlin/FloatArrayCache$Bucket;
aload 1
invokevirtual sun.java2d.marlin.FloatArrayCache$Bucket.putArray:([F)V
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.marlin.FloatArrayCache$Reference.initial:[F
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/FloatArrayCache$Reference;
0 6 1 array [F
0 6 2 fromIndex I
0 6 3 toIndex I
MethodParameters:
Name Flags
array final
fromIndex final
toIndex final
}
SourceFile: "FloatArrayCache.java"
NestHost: sun.java2d.marlin.FloatArrayCache
InnerClasses:
final CacheStats = sun.java2d.marlin.ArrayCacheConst$CacheStats of sun.java2d.marlin.ArrayCacheConst
final Bucket = sun.java2d.marlin.FloatArrayCache$Bucket of sun.java2d.marlin.FloatArrayCache
final Reference = sun.java2d.marlin.FloatArrayCache$Reference of sun.java2d.marlin.FloatArrayCache