public class sun.font.XRGlyphCache implements sun.font.GlyphDisposedListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.font.XRGlyphCache
super_class: java.lang.Object
{
sun.java2d.xr.XRBackend con;
descriptor: Lsun/java2d/xr/XRBackend;
flags: (0x0000)
sun.java2d.xr.XRCompositeManager maskBuffer;
descriptor: Lsun/java2d/xr/XRCompositeManager;
flags: (0x0000)
java.util.HashMap<sun.java2d.xr.MutableInteger, sun.font.XRGlyphCacheEntry> cacheMap;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Lsun/java2d/xr/MutableInteger;Lsun/font/XRGlyphCacheEntry;>;
int nextID;
descriptor: I
flags: (0x0000)
sun.java2d.xr.MutableInteger tmp;
descriptor: Lsun/java2d/xr/MutableInteger;
flags: (0x0000)
int grayGlyphSet;
descriptor: I
flags: (0x0000)
int lcdGlyphSet;
descriptor: I
flags: (0x0000)
int time;
descriptor: I
flags: (0x0000)
int cachedPixels;
descriptor: I
flags: (0x0000)
static final int MAX_CACHED_PIXELS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 100000
java.util.ArrayList<java.lang.Integer> freeGlyphIDs;
descriptor: Ljava/util/ArrayList;
flags: (0x0000)
Signature: Ljava/util/ArrayList<Ljava/lang/Integer;>;
static final boolean batchGlyphUpload;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
public void <init>(sun.java2d.xr.XRCompositeManager);
descriptor: (Lsun/java2d/xr/XRCompositeManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
sipush 256
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.font.XRGlyphCache.cacheMap:Ljava/util/HashMap;
2: aload 0
iconst_1
putfield sun.font.XRGlyphCache.nextID:I
3: aload 0
new sun.java2d.xr.MutableInteger
dup
iconst_0
invokespecial sun.java2d.xr.MutableInteger.<init>:(I)V
putfield sun.font.XRGlyphCache.tmp:Lsun/java2d/xr/MutableInteger;
4: aload 0
iconst_0
putfield sun.font.XRGlyphCache.time:I
5: aload 0
iconst_0
putfield sun.font.XRGlyphCache.cachedPixels:I
6: aload 0
new java.util.ArrayList
dup
sipush 255
invokespecial java.util.ArrayList.<init>:(I)V
putfield sun.font.XRGlyphCache.freeGlyphIDs:Ljava/util/ArrayList;
7: aload 0
aload 1
invokevirtual sun.java2d.xr.XRCompositeManager.getBackend:()Lsun/java2d/xr/XRBackend;
putfield sun.font.XRGlyphCache.con:Lsun/java2d/xr/XRBackend;
8: aload 0
aload 1
putfield sun.font.XRGlyphCache.maskBuffer:Lsun/java2d/xr/XRCompositeManager;
9: aload 0
aload 0
getfield sun.font.XRGlyphCache.con:Lsun/java2d/xr/XRBackend;
iconst_2
invokeinterface sun.java2d.xr.XRBackend.XRenderCreateGlyphSet:(I)I
putfield sun.font.XRGlyphCache.grayGlyphSet:I
10: aload 0
aload 0
getfield sun.font.XRGlyphCache.con:Lsun/java2d/xr/XRBackend;
iconst_0
invokeinterface sun.java2d.xr.XRBackend.XRenderCreateGlyphSet:(I)I
putfield sun.font.XRGlyphCache.lcdGlyphSet:I
11: aload 0
invokestatic sun.font.StrikeCache.addGlyphDisposedListener:(Lsun/font/GlyphDisposedListener;)V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/font/XRGlyphCache;
0 13 1 maskBuf Lsun/java2d/xr/XRCompositeManager;
MethodParameters:
Name Flags
maskBuf
public void glyphDisposed(java.util.ArrayList<java.lang.Long>);
descriptor: (Ljava/util/ArrayList;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.SunToolkit.awtLock:()V
1: new sun.java2d.xr.GrowableIntArray
dup
iconst_1
aload 1
invokevirtual java.util.ArrayList.size:()I
invokespecial sun.java2d.xr.GrowableIntArray.<init>:(II)V
astore 2
start local 2 2: aload 1
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: sun.font.XRGlyphCache java.util.ArrayList sun.java2d.xr.GrowableIntArray top top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 3
start local 3 4: lload 3
invokestatic sun.font.XRGlyphCacheEntry.getGlyphID:(J)I
istore 6
start local 6 5: iload 6
ifeq 7
6: aload 2
iload 6
invokevirtual sun.java2d.xr.GrowableIntArray.addInt:(I)V
end local 6 end local 3 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 0
aload 2
invokevirtual sun.font.XRGlyphCache.freeGlyphs:(Lsun/java2d/xr/GrowableIntArray;)V
end local 2 9: goto 13
StackMap locals: sun.font.XRGlyphCache java.util.ArrayList
StackMap stack: java.lang.Throwable
10: astore 7
11: invokestatic sun.awt.SunToolkit.awtUnlock:()V
12: aload 7
athrow
13: StackMap locals:
StackMap stack:
invokestatic sun.awt.SunToolkit.awtUnlock:()V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/font/XRGlyphCache;
0 15 1 glyphPtrList Ljava/util/ArrayList<Ljava/lang/Long;>;
2 9 2 glyphIDList Lsun/java2d/xr/GrowableIntArray;
4 7 3 glyphPtr J
5 7 6 glyphID I
Exception table:
from to target type
0 10 10 any
Signature: (Ljava/util/ArrayList<Ljava/lang/Long;>;)V
MethodParameters:
Name Flags
glyphPtrList
protected int getFreeGlyphID();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.font.XRGlyphCache.freeGlyphIDs:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifle 3
1: aload 0
getfield sun.font.XRGlyphCache.freeGlyphIDs:Ljava/util/ArrayList;
aload 0
getfield sun.font.XRGlyphCache.freeGlyphIDs:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 1
start local 1 2: iload 1
ireturn
end local 1 3: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.font.XRGlyphCache.nextID:I
dup_x1
iconst_1
iadd
putfield sun.font.XRGlyphCache.nextID:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/font/XRGlyphCache;
2 3 1 newID I
protected sun.font.XRGlyphCacheEntry getEntryForPointer(long);
descriptor: (J)Lsun/font/XRGlyphCacheEntry;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: lload 1
invokestatic sun.font.XRGlyphCacheEntry.getGlyphID:(J)I
istore 3
start local 3 1: iload 3
ifne 3
2: aconst_null
areturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.font.XRGlyphCache.tmp:Lsun/java2d/xr/MutableInteger;
iload 3
invokevirtual sun.java2d.xr.MutableInteger.setValue:(I)V
4: aload 0
getfield sun.font.XRGlyphCache.cacheMap:Ljava/util/HashMap;
aload 0
getfield sun.font.XRGlyphCache.tmp:Lsun/java2d/xr/MutableInteger;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.font.XRGlyphCacheEntry
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/font/XRGlyphCache;
0 5 1 imgPtr J
1 5 3 id I
MethodParameters:
Name Flags
imgPtr
public sun.font.XRGlyphCacheEntry[] cacheGlyphs(sun.font.GlyphList);
descriptor: (Lsun/font/GlyphList;)[Lsun/font/XRGlyphCacheEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield sun.font.XRGlyphCache.time:I
iconst_1
iadd
putfield sun.font.XRGlyphCache.time:I
1: aload 1
invokevirtual sun.font.GlyphList.getNumGlyphs:()I
anewarray sun.font.XRGlyphCacheEntry
astore 2
start local 2 2: aload 1
invokevirtual sun.font.GlyphList.getImages:()[J
astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 17
6: StackMap locals: sun.font.XRGlyphCache sun.font.GlyphList sun.font.XRGlyphCacheEntry[] long[] java.util.ArrayList int
StackMap stack:
aload 0
aload 3
iload 5
laload
invokevirtual sun.font.XRGlyphCache.getEntryForPointer:(J)Lsun/font/XRGlyphCacheEntry;
dup
astore 6
start local 6 7: ifnonnull 14
8: new sun.font.XRGlyphCacheEntry
dup
aload 3
iload 5
laload
aload 1
invokespecial sun.font.XRGlyphCacheEntry.<init>:(JLsun/font/GlyphList;)V
astore 6
9: aload 6
aload 0
invokevirtual sun.font.XRGlyphCache.getFreeGlyphID:()I
invokevirtual sun.font.XRGlyphCacheEntry.setGlyphID:(I)V
10: aload 0
getfield sun.font.XRGlyphCache.cacheMap:Ljava/util/HashMap;
new sun.java2d.xr.MutableInteger
dup
aload 6
invokevirtual sun.font.XRGlyphCacheEntry.getGlyphID:()I
invokespecial sun.java2d.xr.MutableInteger.<init>:(I)V
aload 6
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 4
ifnonnull 13
12: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
13: StackMap locals: sun.font.XRGlyphCacheEntry
StackMap stack:
aload 4
aload 6
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
14: StackMap locals:
StackMap stack:
aload 6
aload 0
getfield sun.font.XRGlyphCache.time:I
invokevirtual sun.font.XRGlyphCacheEntry.setLastUsed:(I)V
15: aload 2
iload 5
aload 6
aastore
end local 6 16: iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
aload 1
invokevirtual sun.font.GlyphList.getNumGlyphs:()I
if_icmplt 6
end local 5 18: aload 4
ifnull 20
19: aload 0
aload 2
aload 4
aload 1
aconst_null
invokevirtual sun.font.XRGlyphCache.uploadGlyphs:([Lsun/font/XRGlyphCacheEntry;Ljava/util/ArrayList;Lsun/font/GlyphList;[I)V
20: StackMap locals:
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/font/XRGlyphCache;
0 21 1 glyphList Lsun/font/GlyphList;
2 21 2 entries [Lsun/font/XRGlyphCacheEntry;
3 21 3 imgPtrs [J
4 21 4 uncachedGlyphs Ljava/util/ArrayList<Lsun/font/XRGlyphCacheEntry;>;
5 18 5 i I
7 16 6 glyph Lsun/font/XRGlyphCacheEntry;
MethodParameters:
Name Flags
glyphList
protected void uploadGlyphs(sun.font.XRGlyphCacheEntry[], java.util.ArrayList<sun.font.XRGlyphCacheEntry>, sun.font.GlyphList, );
descriptor: ([Lsun/font/XRGlyphCacheEntry;Ljava/util/ArrayList;Lsun/font/GlyphList;[I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 6
goto 3
StackMap locals: sun.font.XRGlyphCache sun.font.XRGlyphCacheEntry[] java.util.ArrayList sun.font.GlyphList int[] top java.util.Iterator
StackMap stack:
1: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.font.XRGlyphCacheEntry
astore 5
start local 5 2: aload 0
dup
getfield sun.font.XRGlyphCache.cachedPixels:I
aload 5
invokevirtual sun.font.XRGlyphCacheEntry.getPixelCnt:()I
iadd
putfield sun.font.XRGlyphCache.cachedPixels:I
end local 5 3: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
getfield sun.font.XRGlyphCache.cachedPixels:I
ldc 100000
if_icmple 6
5: aload 0
aload 1
invokevirtual sun.font.XRGlyphCache.clearCache:([Lsun/font/XRGlyphCacheEntry;)V
6: StackMap locals: sun.font.XRGlyphCache sun.font.XRGlyphCacheEntry[] java.util.ArrayList sun.font.GlyphList int[]
StackMap stack:
aload 0
aload 2
invokevirtual sun.font.XRGlyphCache.containsLCDGlyphs:(Ljava/util/List;)Z
istore 5
start local 5 7: aload 0
aload 2
iload 5
invokevirtual sun.font.XRGlyphCache.seperateGlyphTypes:(Ljava/util/List;Z)[Ljava/util/List;
astore 6
start local 6 8: aload 6
iconst_0
aaload
astore 7
start local 7 9: aload 6
iconst_1
aaload
astore 8
start local 8 10: aload 7
ifnull 12
aload 7
invokeinterface java.util.List.size:()I
ifle 12
11: aload 0
getfield sun.font.XRGlyphCache.con:Lsun/java2d/xr/XRBackend;
aload 0
getfield sun.font.XRGlyphCache.grayGlyphSet:I
aload 3
aload 7
aload 0
aload 7
invokevirtual sun.font.XRGlyphCache.generateGlyphImageStream:(Ljava/util/List;)[B
invokeinterface sun.java2d.xr.XRBackend.XRenderAddGlyphs:(ILsun/font/GlyphList;Ljava/util/List;[B)V
12: StackMap locals: sun.font.XRGlyphCache sun.font.XRGlyphCacheEntry[] java.util.ArrayList sun.font.GlyphList int[] int java.util.List[] java.util.List java.util.List
StackMap stack:
aload 8
ifnull 14
aload 8
invokeinterface java.util.List.size:()I
ifle 14
13: aload 0
getfield sun.font.XRGlyphCache.con:Lsun/java2d/xr/XRBackend;
aload 0
getfield sun.font.XRGlyphCache.lcdGlyphSet:I
aload 3
aload 8
aload 0
aload 8
invokevirtual sun.font.XRGlyphCache.generateGlyphImageStream:(Ljava/util/List;)[B
invokeinterface sun.java2d.xr.XRBackend.XRenderAddGlyphs:(ILsun/font/GlyphList;Ljava/util/List;[B)V
14: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 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/font/XRGlyphCache;
0 15 1 glyphs [Lsun/font/XRGlyphCacheEntry;
0 15 2 uncachedGlyphs Ljava/util/ArrayList<Lsun/font/XRGlyphCacheEntry;>;
0 15 3 gl Lsun/font/GlyphList;
0 15 4 glIndices [I
2 3 5 glyph Lsun/font/XRGlyphCacheEntry;
7 15 5 containsLCDGlyphs Z
8 15 6 seperatedGlyphList [Ljava/util/List;
9 15 7 grayGlyphList Ljava/util/List<Lsun/font/XRGlyphCacheEntry;>;
10 15 8 lcdGlyphList Ljava/util/List<Lsun/font/XRGlyphCacheEntry;>;
Signature: ([Lsun/font/XRGlyphCacheEntry;Ljava/util/ArrayList<Lsun/font/XRGlyphCacheEntry;>;Lsun/font/GlyphList;[I)V
MethodParameters:
Name Flags
glyphs
uncachedGlyphs
gl
glIndices
protected java.util.List<sun.font.XRGlyphCacheEntry>[] seperateGlyphTypes(java.util.List<sun.font.XRGlyphCacheEntry>, boolean);
descriptor: (Ljava/util/List;Z)[Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 14
StackMap locals: sun.font.XRGlyphCache java.util.List int java.util.ArrayList java.util.ArrayList top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.font.XRGlyphCacheEntry
astore 5
start local 5 4: aload 5
iload 2
invokevirtual sun.font.XRGlyphCacheEntry.isGrayscale:(Z)Z
ifeq 10
5: aload 4
ifnonnull 7
6: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
7: StackMap locals: sun.font.XRGlyphCache java.util.List int java.util.ArrayList java.util.ArrayList sun.font.XRGlyphCacheEntry java.util.Iterator
StackMap stack:
aload 5
aload 0
getfield sun.font.XRGlyphCache.grayGlyphSet:I
invokevirtual sun.font.XRGlyphCacheEntry.setGlyphSet:(I)V
8: aload 4
aload 5
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
9: goto 14
10: StackMap locals:
StackMap stack:
aload 3
ifnonnull 12
11: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
12: StackMap locals:
StackMap stack:
aload 5
aload 0
getfield sun.font.XRGlyphCache.lcdGlyphSet:I
invokevirtual sun.font.XRGlyphCacheEntry.setGlyphSet:(I)V
13: aload 3
aload 5
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 14: StackMap locals: sun.font.XRGlyphCache java.util.List int java.util.ArrayList java.util.ArrayList top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
15: iconst_2
anewarray java.util.List
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 3
aastore
16: astore 5
start local 5 17: 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 18 0 this Lsun/font/XRGlyphCache;
0 18 1 glyphList Ljava/util/List<Lsun/font/XRGlyphCacheEntry;>;
0 18 2 containsLCDGlyphs Z
1 18 3 lcdGlyphs Ljava/util/ArrayList<Lsun/font/XRGlyphCacheEntry;>;
2 18 4 grayGlyphs Ljava/util/ArrayList<Lsun/font/XRGlyphCacheEntry;>;
4 14 5 cacheEntry Lsun/font/XRGlyphCacheEntry;
17 18 5 tmp [Ljava/util/List;
Signature: (Ljava/util/List<Lsun/font/XRGlyphCacheEntry;>;Z)[Ljava/util/List<Lsun/font/XRGlyphCacheEntry;>;
MethodParameters:
Name Flags
glyphList
containsLCDGlyphs
protected byte[] generateGlyphImageStream(java.util.List<sun.font.XRGlyphCacheEntry>);
descriptor: (Ljava/util/List;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.font.XRGlyphCacheEntry
invokevirtual sun.font.XRGlyphCacheEntry.getGlyphSet:()I
aload 0
getfield sun.font.XRGlyphCache.lcdGlyphSet:I
if_icmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: new java.io.ByteArrayOutputStream
dup
iload 2
ifeq 4
iconst_4
goto 5
StackMap locals: sun.font.XRGlyphCache java.util.List int
StackMap stack: new 3 new 3
4: iconst_1
StackMap locals: sun.font.XRGlyphCache java.util.List int
StackMap stack: new 3 new 3 int
5: bipush 48
imul
aload 1
invokeinterface java.util.List.size:()I
imul
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 3
start local 3 6: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: sun.font.XRGlyphCache java.util.List int java.io.ByteArrayOutputStream top java.util.Iterator
StackMap stack:
7: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.font.XRGlyphCacheEntry
astore 4
start local 4 8: aload 4
aload 3
iload 2
invokevirtual sun.font.XRGlyphCacheEntry.writePixelData:(Ljava/io/ByteArrayOutputStream;Z)V
end local 4 9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/font/XRGlyphCache;
0 11 1 glyphList Ljava/util/List<Lsun/font/XRGlyphCacheEntry;>;
3 11 2 isLCDGlyph Z
6 11 3 stream Ljava/io/ByteArrayOutputStream;
8 9 4 cacheEntry Lsun/font/XRGlyphCacheEntry;
Signature: (Ljava/util/List<Lsun/font/XRGlyphCacheEntry;>;)[B
MethodParameters:
Name Flags
glyphList
protected boolean containsLCDGlyphs(java.util.List<sun.font.XRGlyphCacheEntry>);
descriptor: (Ljava/util/List;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: sun.font.XRGlyphCache java.util.List int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.font.XRGlyphCacheEntry
astore 3
start local 3 3: aload 3
invokevirtual sun.font.XRGlyphCacheEntry.getSourceRowBytes:()I
aload 3
invokevirtual sun.font.XRGlyphCacheEntry.getWidth:()I
if_icmpne 4
iconst_0
goto 5
StackMap locals: sun.font.XRGlyphCache java.util.List int sun.font.XRGlyphCacheEntry java.util.Iterator
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: istore 2
6: iload 2
ifeq 8
7: iconst_1
ireturn
end local 3 8: StackMap locals: sun.font.XRGlyphCache java.util.List int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/font/XRGlyphCache;
0 10 1 entries Ljava/util/List<Lsun/font/XRGlyphCacheEntry;>;
1 10 2 containsLCDGlyphs Z
3 8 3 entry Lsun/font/XRGlyphCacheEntry;
Signature: (Ljava/util/List<Lsun/font/XRGlyphCacheEntry;>;)Z
MethodParameters:
Name Flags
entries
protected void clearCache(sun.font.XRGlyphCacheEntry[]);
descriptor: ([Lsun/font/XRGlyphCacheEntry;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 0
getfield sun.font.XRGlyphCache.cacheMap:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 1: aload 2
new sun.font.XRGlyphCache$1
dup
aload 0
invokespecial sun.font.XRGlyphCache$1.<init>:(Lsun/font/XRGlyphCache;)V
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
2: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: sun.font.XRGlyphCache sun.font.XRGlyphCacheEntry[] java.util.ArrayList top int int sun.font.XRGlyphCacheEntry[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
invokevirtual sun.font.XRGlyphCacheEntry.setPinned:()V
end local 3 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 3
7: new sun.java2d.xr.GrowableIntArray
dup
iconst_1
bipush 10
invokespecial sun.java2d.xr.GrowableIntArray.<init>:(II)V
astore 3
start local 3 8: aload 0
getfield sun.font.XRGlyphCache.cachedPixels:I
ldc 100000
isub
istore 4
start local 4 9: aload 2
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
istore 5
start local 5 10: goto 16
11: StackMap locals: sun.font.XRGlyphCache sun.font.XRGlyphCacheEntry[] java.util.ArrayList sun.java2d.xr.GrowableIntArray int int
StackMap stack:
aload 2
iload 5
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.font.XRGlyphCacheEntry
astore 6
start local 6 12: aload 6
invokevirtual sun.font.XRGlyphCacheEntry.isPinned:()Z
ifne 15
13: iload 4
aload 6
invokevirtual sun.font.XRGlyphCacheEntry.getPixelCnt:()I
isub
istore 4
14: aload 3
aload 6
invokevirtual sun.font.XRGlyphCacheEntry.getGlyphID:()I
invokevirtual sun.java2d.xr.GrowableIntArray.addInt:(I)V
end local 6 15: StackMap locals:
StackMap stack:
iinc 5 -1
StackMap locals:
StackMap stack:
16: iload 5
iflt 17
iload 4
ifgt 11
end local 5 17: StackMap locals:
StackMap stack:
aload 1
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 21
StackMap locals: sun.font.XRGlyphCache sun.font.XRGlyphCacheEntry[] java.util.ArrayList sun.java2d.xr.GrowableIntArray int top int int sun.font.XRGlyphCacheEntry[]
StackMap stack:
18: aload 8
iload 6
aaload
astore 5
start local 5 19: aload 5
invokevirtual sun.font.XRGlyphCacheEntry.setUnpinned:()V
end local 5 20: iinc 6 1
StackMap locals:
StackMap stack:
21: iload 6
iload 7
if_icmplt 18
22: aload 0
aload 3
invokevirtual sun.font.XRGlyphCache.freeGlyphs:(Lsun/java2d/xr/GrowableIntArray;)V
23: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/font/XRGlyphCache;
0 24 1 glyps [Lsun/font/XRGlyphCacheEntry;
1 24 2 cacheList Ljava/util/ArrayList<Lsun/font/XRGlyphCacheEntry;>;
4 5 3 glyph Lsun/font/XRGlyphCacheEntry;
8 24 3 deleteGlyphList Lsun/java2d/xr/GrowableIntArray;
9 24 4 pixelsToRelease I
10 17 5 i I
12 15 6 entry Lsun/font/XRGlyphCacheEntry;
19 20 5 glyph Lsun/font/XRGlyphCacheEntry;
MethodParameters:
Name Flags
glyps
private void freeGlyphs(sun.java2d.xr.GrowableIntArray);
descriptor: (Lsun/java2d/xr/GrowableIntArray;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: new sun.java2d.xr.GrowableIntArray
dup
iconst_1
bipush 10
invokespecial sun.java2d.xr.GrowableIntArray.<init>:(II)V
astore 2
start local 2 1: new sun.java2d.xr.GrowableIntArray
dup
iconst_1
bipush 10
invokespecial sun.java2d.xr.GrowableIntArray.<init>:(II)V
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 16
4: StackMap locals: sun.java2d.xr.GrowableIntArray sun.java2d.xr.GrowableIntArray int
StackMap stack:
aload 1
iload 4
invokevirtual sun.java2d.xr.GrowableIntArray.getInt:(I)I
istore 5
start local 5 5: aload 0
getfield sun.font.XRGlyphCache.freeGlyphIDs:Ljava/util/ArrayList;
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
6: aload 0
getfield sun.font.XRGlyphCache.tmp:Lsun/java2d/xr/MutableInteger;
iload 5
invokevirtual sun.java2d.xr.MutableInteger.setValue:(I)V
7: aload 0
getfield sun.font.XRGlyphCache.cacheMap:Ljava/util/HashMap;
aload 0
getfield sun.font.XRGlyphCache.tmp:Lsun/java2d/xr/MutableInteger;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.font.XRGlyphCacheEntry
astore 6
start local 6 8: aload 0
dup
getfield sun.font.XRGlyphCache.cachedPixels:I
aload 6
invokevirtual sun.font.XRGlyphCacheEntry.getPixelCnt:()I
isub
putfield sun.font.XRGlyphCache.cachedPixels:I
9: aload 0
getfield sun.font.XRGlyphCache.cacheMap:Ljava/util/HashMap;
aload 0
getfield sun.font.XRGlyphCache.tmp:Lsun/java2d/xr/MutableInteger;
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 6
invokevirtual sun.font.XRGlyphCacheEntry.getGlyphSet:()I
aload 0
getfield sun.font.XRGlyphCache.grayGlyphSet:I
if_icmpne 13
11: aload 3
iload 5
invokevirtual sun.java2d.xr.GrowableIntArray.addInt:(I)V
12: goto 14
13: StackMap locals: int sun.font.XRGlyphCacheEntry
StackMap stack:
aload 2
iload 5
invokevirtual sun.java2d.xr.GrowableIntArray.addInt:(I)V
14: StackMap locals:
StackMap stack:
aload 6
iconst_0
invokevirtual sun.font.XRGlyphCacheEntry.setGlyphID:(I)V
end local 6 end local 5 15: iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
aload 1
invokevirtual sun.java2d.xr.GrowableIntArray.getSize:()I
if_icmplt 4
end local 4 17: aload 3
invokevirtual sun.java2d.xr.GrowableIntArray.getSize:()I
ifle 19
18: aload 0
getfield sun.font.XRGlyphCache.con:Lsun/java2d/xr/XRBackend;
aload 0
getfield sun.font.XRGlyphCache.grayGlyphSet:I
aload 3
invokevirtual sun.java2d.xr.GrowableIntArray.getSizedArray:()[I
invokeinterface sun.java2d.xr.XRBackend.XRenderFreeGlyphs:(I[I)V
19: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.java2d.xr.GrowableIntArray.getSize:()I
ifle 21
20: aload 0
getfield sun.font.XRGlyphCache.con:Lsun/java2d/xr/XRBackend;
aload 0
getfield sun.font.XRGlyphCache.lcdGlyphSet:I
aload 2
invokevirtual sun.java2d.xr.GrowableIntArray.getSizedArray:()[I
invokeinterface sun.java2d.xr.XRBackend.XRenderFreeGlyphs:(I[I)V
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/font/XRGlyphCache;
0 22 1 glyphIdList Lsun/java2d/xr/GrowableIntArray;
1 22 2 removedLCDGlyphs Lsun/java2d/xr/GrowableIntArray;
2 22 3 removedGrayscaleGlyphs Lsun/java2d/xr/GrowableIntArray;
3 17 4 i I
5 15 5 glyphId I
8 15 6 entry Lsun/font/XRGlyphCacheEntry;
MethodParameters:
Name Flags
glyphIdList
}
SourceFile: "XRGlyphCache.java"
NestMembers:
sun.font.XRGlyphCache$1
InnerClasses:
sun.font.XRGlyphCache$1