public class sun.java2d.jules.TileWorker implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.jules.TileWorker
super_class: java.lang.Object
{
static final int RASTERIZED_TILE_SYNC_GRANULARITY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
final java.util.ArrayList<sun.java2d.jules.JulesTile> rasterizedTileConsumerCache;
descriptor: Ljava/util/ArrayList;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/ArrayList<Lsun/java2d/jules/JulesTile;>;
final java.util.LinkedList<sun.java2d.jules.JulesTile> rasterizedBuffers;
descriptor: Ljava/util/LinkedList;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/LinkedList<Lsun/java2d/jules/JulesTile;>;
sun.java2d.jules.IdleTileCache tileCache;
descriptor: Lsun/java2d/jules/IdleTileCache;
flags: (0x0000)
sun.java2d.jules.JulesAATileGenerator tileGenerator;
descriptor: Lsun/java2d/jules/JulesAATileGenerator;
flags: (0x0000)
int workerStartIndex;
descriptor: I
flags: (0x0000)
volatile int consumerPos;
descriptor: I
flags: (0x0040) ACC_VOLATILE
int mainThreadCnt;
descriptor: I
flags: (0x0000)
int workerCnt;
descriptor: I
flags: (0x0000)
int doubled;
descriptor: I
flags: (0x0000)
public void <init>(sun.java2d.jules.JulesAATileGenerator, int, sun.java2d.jules.IdleTileCache);
descriptor: (Lsun/java2d/jules/JulesAATileGenerator;ILsun/java2d/jules/IdleTileCache;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.java2d.jules.TileWorker.rasterizedTileConsumerCache:Ljava/util/ArrayList;
3: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield sun.java2d.jules.TileWorker.rasterizedBuffers:Ljava/util/LinkedList;
4: aload 0
iconst_0
putfield sun.java2d.jules.TileWorker.consumerPos:I
5: aload 0
iconst_0
putfield sun.java2d.jules.TileWorker.mainThreadCnt:I
6: aload 0
iconst_0
putfield sun.java2d.jules.TileWorker.workerCnt:I
7: aload 0
iconst_0
putfield sun.java2d.jules.TileWorker.doubled:I
8: aload 0
aload 1
putfield sun.java2d.jules.TileWorker.tileGenerator:Lsun/java2d/jules/JulesAATileGenerator;
9: aload 0
iload 2
putfield sun.java2d.jules.TileWorker.workerStartIndex:I
10: aload 0
aload 3
putfield sun.java2d.jules.TileWorker.tileCache:Lsun/java2d/jules/IdleTileCache;
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/java2d/jules/TileWorker;
0 12 1 tileGenerator Lsun/java2d/jules/JulesAATileGenerator;
0 12 2 workerStartIndex I
0 12 3 tileCache Lsun/java2d/jules/IdleTileCache;
MethodParameters:
Name Flags
tileGenerator
workerStartIndex
tileCache
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
bipush 16
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield sun.java2d.jules.TileWorker.workerStartIndex:I
istore 2
start local 2 2: goto 17
3: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 0
getfield sun.java2d.jules.TileWorker.tileGenerator:Lsun/java2d/jules/JulesAATileGenerator;
iload 2
invokevirtual sun.java2d.jules.JulesAATileGenerator.getTrapContainer:(I)Lsun/java2d/jules/TileTrapContainer;
astore 3
start local 3 4: aload 3
ifnull 15
aload 3
invokevirtual sun.java2d.jules.TileTrapContainer.getTileAlpha:()I
bipush 127
if_icmpne 15
5: aload 0
getfield sun.java2d.jules.TileWorker.tileGenerator:Lsun/java2d/jules/JulesAATileGenerator;
iload 2
6: aload 0
getfield sun.java2d.jules.TileWorker.tileCache:Lsun/java2d/jules/IdleTileCache;
7: aload 0
getfield sun.java2d.jules.TileWorker.tileGenerator:Lsun/java2d/jules/JulesAATileGenerator;
invokevirtual sun.java2d.jules.JulesAATileGenerator.getTileCount:()I
iload 2
isub
iconst_1
isub
8: invokevirtual sun.java2d.jules.IdleTileCache.getIdleTileWorker:(I)Lsun/java2d/jules/JulesTile;
9: invokevirtual sun.java2d.jules.JulesAATileGenerator.rasterizeTile:(ILsun/java2d/jules/JulesTile;)Lsun/java2d/jules/JulesTile;
10: astore 4
start local 4 11: aload 1
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
12: aload 1
invokevirtual java.util.ArrayList.size:()I
bipush 8
if_icmple 15
13: aload 0
aload 1
invokevirtual sun.java2d.jules.TileWorker.addRasterizedTiles:(Ljava/util/ArrayList;)V
14: aload 1
invokevirtual java.util.ArrayList.clear:()V
end local 4 15: StackMap locals: sun.java2d.jules.TileTrapContainer
StackMap stack:
iload 2
aload 0
getfield sun.java2d.jules.TileWorker.consumerPos:I
iconst_4
iadd
invokestatic java.lang.Math.max:(II)I
istore 2
end local 3 16: iinc 2 1
StackMap locals:
StackMap stack:
17: iload 2
aload 0
getfield sun.java2d.jules.TileWorker.tileGenerator:Lsun/java2d/jules/JulesAATileGenerator;
invokevirtual sun.java2d.jules.JulesAATileGenerator.getTileCount:()I
if_icmplt 3
end local 2 18: aload 0
aload 1
invokevirtual sun.java2d.jules.TileWorker.addRasterizedTiles:(Ljava/util/ArrayList;)V
19: aload 0
getfield sun.java2d.jules.TileWorker.tileCache:Lsun/java2d/jules/IdleTileCache;
invokevirtual sun.java2d.jules.IdleTileCache.disposeRasterizerResources:()V
20: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/java2d/jules/TileWorker;
1 21 1 tiles Ljava/util/ArrayList<Lsun/java2d/jules/JulesTile;>;
2 18 2 i I
4 16 3 tile Lsun/java2d/jules/TileTrapContainer;
11 15 4 rasterizedTile Lsun/java2d/jules/JulesTile;
public sun.java2d.jules.JulesTile getPreRasterizedTile(int);
descriptor: (I)Lsun/java2d/jules/JulesTile;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield sun.java2d.jules.TileWorker.rasterizedTileConsumerCache:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifne 20
2: iload 1
aload 0
getfield sun.java2d.jules.TileWorker.workerStartIndex:I
if_icmplt 20
3: aload 0
getfield sun.java2d.jules.TileWorker.rasterizedBuffers:Ljava/util/LinkedList;
dup
astore 3
monitorenter
4: aload 0
getfield sun.java2d.jules.TileWorker.rasterizedTileConsumerCache:Ljava/util/ArrayList;
aload 0
getfield sun.java2d.jules.TileWorker.rasterizedBuffers:Ljava/util/LinkedList;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
5: aload 0
getfield sun.java2d.jules.TileWorker.rasterizedBuffers:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.clear:()V
6: aload 3
monitorexit
7: goto 20
StackMap locals: sun.java2d.jules.TileWorker int sun.java2d.jules.JulesTile java.util.LinkedList
StackMap stack: java.lang.Throwable
8: aload 3
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.jules.TileWorker.rasterizedTileConsumerCache:Ljava/util/ArrayList;
iconst_0
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.java2d.jules.JulesTile
astore 3
start local 3 11: aload 3
invokevirtual sun.java2d.jules.JulesTile.getTilePos:()I
iload 1
if_icmple 13
12: goto 21
13: StackMap locals: sun.java2d.jules.JulesTile
StackMap stack:
aload 3
invokevirtual sun.java2d.jules.JulesTile.getTilePos:()I
iload 1
if_icmpge 16
14: aload 0
getfield sun.java2d.jules.TileWorker.tileCache:Lsun/java2d/jules/IdleTileCache;
aload 3
invokevirtual sun.java2d.jules.IdleTileCache.releaseTile:(Lsun/java2d/jules/JulesTile;)V
15: aload 0
dup
getfield sun.java2d.jules.TileWorker.doubled:I
iconst_1
iadd
putfield sun.java2d.jules.TileWorker.doubled:I
16: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.java2d.jules.JulesTile.getTilePos:()I
iload 1
if_icmpgt 18
17: aload 0
getfield sun.java2d.jules.TileWorker.rasterizedTileConsumerCache:Ljava/util/ArrayList;
iconst_0
invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
pop
18: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.java2d.jules.JulesTile.getTilePos:()I
iload 1
if_icmpne 20
19: aload 3
astore 2
end local 3 20: StackMap locals:
StackMap stack:
aload 2
ifnonnull 21
aload 0
getfield sun.java2d.jules.TileWorker.rasterizedTileConsumerCache:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifgt 10
21: StackMap locals:
StackMap stack:
aload 2
ifnonnull 25
22: aload 0
dup
getfield sun.java2d.jules.TileWorker.mainThreadCnt:I
iconst_1
iadd
putfield sun.java2d.jules.TileWorker.mainThreadCnt:I
23: aload 0
iload 1
putfield sun.java2d.jules.TileWorker.consumerPos:I
24: goto 26
25: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.java2d.jules.TileWorker.workerCnt:I
iconst_1
iadd
putfield sun.java2d.jules.TileWorker.workerCnt:I
26: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/java2d/jules/TileWorker;
0 27 1 tilePos I
1 27 2 tile Lsun/java2d/jules/JulesTile;
11 20 3 t Lsun/java2d/jules/JulesTile;
Exception table:
from to target type
4 7 8 any
8 9 8 any
MethodParameters:
Name Flags
tilePos
private void addRasterizedTiles(java.util.ArrayList<sun.java2d.jules.JulesTile>);
descriptor: (Ljava/util/ArrayList;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.jules.TileWorker.rasterizedBuffers:Ljava/util/LinkedList;
dup
astore 2
monitorenter
1: aload 0
getfield sun.java2d.jules.TileWorker.rasterizedBuffers:Ljava/util/LinkedList;
aload 1
invokevirtual java.util.LinkedList.addAll:(Ljava/util/Collection;)Z
pop
2: aload 2
monitorexit
3: goto 6
StackMap locals: sun.java2d.jules.TileWorker java.util.ArrayList java.util.LinkedList
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/jules/TileWorker;
0 7 1 tiles Ljava/util/ArrayList<Lsun/java2d/jules/JulesTile;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
Signature: (Ljava/util/ArrayList<Lsun/java2d/jules/JulesTile;>;)V
MethodParameters:
Name Flags
tiles
public void disposeConsumerResources();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.java2d.jules.TileWorker.rasterizedBuffers:Ljava/util/LinkedList;
dup
astore 1
monitorenter
1: aload 0
getfield sun.java2d.jules.TileWorker.tileCache:Lsun/java2d/jules/IdleTileCache;
aload 0
getfield sun.java2d.jules.TileWorker.rasterizedBuffers:Ljava/util/LinkedList;
invokevirtual sun.java2d.jules.IdleTileCache.releaseTiles:(Ljava/util/List;)V
2: aload 1
monitorexit
3: goto 6
StackMap locals: sun.java2d.jules.TileWorker java.util.LinkedList
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.jules.TileWorker.tileCache:Lsun/java2d/jules/IdleTileCache;
aload 0
getfield sun.java2d.jules.TileWorker.rasterizedTileConsumerCache:Ljava/util/ArrayList;
invokevirtual sun.java2d.jules.IdleTileCache.releaseTiles:(Ljava/util/List;)V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/java2d/jules/TileWorker;
Exception table:
from to target type
1 3 4 any
4 5 4 any
}
SourceFile: "TileWorker.java"