public final class sun.java2d.loops.GraphicsPrimitiveMgr
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.java2d.loops.GraphicsPrimitiveMgr
super_class: java.lang.Object
{
private static final boolean debugTrace;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static sun.java2d.loops.GraphicsPrimitive[] primitives;
descriptor: [Lsun/java2d/loops/GraphicsPrimitive;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.java2d.loops.GraphicsPrimitive[] generalPrimitives;
descriptor: [Lsun/java2d/loops/GraphicsPrimitive;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean needssort;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.Comparator<sun.java2d.loops.GraphicsPrimitive> primSorter;
descriptor: Ljava/util/Comparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Comparator<Lsun/java2d/loops/GraphicsPrimitive;>;
private static java.util.Comparator<java.lang.Object> primFinder;
descriptor: Ljava/util/Comparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Comparator<Ljava/lang/Object;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=11, locals=0, args_size=0
0: iconst_1
putstatic sun.java2d.loops.GraphicsPrimitiveMgr.needssort:Z
1: ldc Lsun/java2d/loops/GraphicsPrimitive;
2: ldc Lsun/java2d/loops/SurfaceType;
3: ldc Lsun/java2d/loops/CompositeType;
4: ldc Lsun/java2d/SunGraphics2D;
5: ldc Ljava/awt/Color;
6: ldc Ljava/awt/geom/AffineTransform;
7: ldc Lsun/java2d/loops/XORComposite;
8: ldc Ljava/awt/AlphaComposite;
9: ldc Ljava/awt/geom/Path2D;
10: ldc Ljava/awt/geom/Path2D$Float;
11: ldc Lsun/awt/SunHints;
12: invokestatic sun.java2d.loops.GraphicsPrimitiveMgr.initIDs:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)V
13: invokestatic sun.java2d.loops.CustomComponent.register:()V
14: invokestatic sun.java2d.loops.GeneralRenderer.register:()V
15: invokestatic sun.java2d.loops.GraphicsPrimitiveMgr.registerNativeLoops:()V
16: new sun.java2d.loops.GraphicsPrimitiveMgr$1
dup
invokespecial sun.java2d.loops.GraphicsPrimitiveMgr$1.<init>:()V
17: putstatic sun.java2d.loops.GraphicsPrimitiveMgr.primSorter:Ljava/util/Comparator;
18: new sun.java2d.loops.GraphicsPrimitiveMgr$2
dup
invokespecial sun.java2d.loops.GraphicsPrimitiveMgr$2.<init>:()V
putstatic sun.java2d.loops.GraphicsPrimitiveMgr.primFinder:Ljava/util/Comparator;
19: return
LocalVariableTable:
Start End Slot Name Signature
private static native void initIDs(java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
GP
ST
CT
SG2D
Color
AT
XORComp
AlphaComp
Path2D
Path2DFloat
SHints
private static native void registerNativeLoops();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/loops/GraphicsPrimitiveMgr;
public static synchronized void register(sun.java2d.loops.GraphicsPrimitive[]);
descriptor: ([Lsun/java2d/loops/GraphicsPrimitive;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=5, args_size=1
start local 0 0: getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primitives:[Lsun/java2d/loops/GraphicsPrimitive;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
arraylength
istore 3
start local 3 3: aload 1
ifnull 5
4: aload 1
arraylength
istore 2
5: StackMap locals: sun.java2d.loops.GraphicsPrimitive[] int int
StackMap stack:
iload 2
iload 3
iadd
anewarray sun.java2d.loops.GraphicsPrimitive
astore 4
start local 4 6: aload 1
ifnull 8
7: aload 1
iconst_0
aload 4
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: StackMap locals: sun.java2d.loops.GraphicsPrimitive[]
StackMap stack:
aload 0
iconst_0
aload 4
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: iconst_1
putstatic sun.java2d.loops.GraphicsPrimitiveMgr.needssort:Z
10: aload 4
putstatic sun.java2d.loops.GraphicsPrimitiveMgr.primitives:[Lsun/java2d/loops/GraphicsPrimitive;
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 newPrimitives [Lsun/java2d/loops/GraphicsPrimitive;
1 12 1 devCollection [Lsun/java2d/loops/GraphicsPrimitive;
2 12 2 oldSize I
3 12 3 newSize I
6 12 4 temp [Lsun/java2d/loops/GraphicsPrimitive;
MethodParameters:
Name Flags
newPrimitives
public static synchronized void registerGeneral(sun.java2d.loops.GraphicsPrimitive);
descriptor: (Lsun/java2d/loops/GraphicsPrimitive;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=1
start local 0 0: getstatic sun.java2d.loops.GraphicsPrimitiveMgr.generalPrimitives:[Lsun/java2d/loops/GraphicsPrimitive;
ifnonnull 3
1: iconst_1
anewarray sun.java2d.loops.GraphicsPrimitive
dup
iconst_0
aload 0
aastore
putstatic sun.java2d.loops.GraphicsPrimitiveMgr.generalPrimitives:[Lsun/java2d/loops/GraphicsPrimitive;
2: return
3: StackMap locals:
StackMap stack:
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.generalPrimitives:[Lsun/java2d/loops/GraphicsPrimitive;
arraylength
istore 1
start local 1 4: iload 1
iconst_1
iadd
anewarray sun.java2d.loops.GraphicsPrimitive
astore 2
start local 2 5: getstatic sun.java2d.loops.GraphicsPrimitiveMgr.generalPrimitives:[Lsun/java2d/loops/GraphicsPrimitive;
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 2
iload 1
aload 0
aastore
7: aload 2
putstatic sun.java2d.loops.GraphicsPrimitiveMgr.generalPrimitives:[Lsun/java2d/loops/GraphicsPrimitive;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 gen Lsun/java2d/loops/GraphicsPrimitive;
4 9 1 len I
5 9 2 newGen [Lsun/java2d/loops/GraphicsPrimitive;
MethodParameters:
Name Flags
gen
public static synchronized sun.java2d.loops.GraphicsPrimitive locate(int, sun.java2d.loops.SurfaceType);
descriptor: (ILsun/java2d/loops/SurfaceType;)Lsun/java2d/loops/GraphicsPrimitive;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 0
1: getstatic sun.java2d.loops.SurfaceType.OpaqueColor:Lsun/java2d/loops/SurfaceType;
2: getstatic sun.java2d.loops.CompositeType.Src:Lsun/java2d/loops/CompositeType;
3: aload 1
4: invokestatic sun.java2d.loops.GraphicsPrimitiveMgr.locate:(ILsun/java2d/loops/SurfaceType;Lsun/java2d/loops/CompositeType;Lsun/java2d/loops/SurfaceType;)Lsun/java2d/loops/GraphicsPrimitive;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 primTypeID I
0 5 1 dsttype Lsun/java2d/loops/SurfaceType;
MethodParameters:
Name Flags
primTypeID
dsttype
public static synchronized sun.java2d.loops.GraphicsPrimitive locate(int, sun.java2d.loops.SurfaceType, sun.java2d.loops.CompositeType, sun.java2d.loops.SurfaceType);
descriptor: (ILsun/java2d/loops/SurfaceType;Lsun/java2d/loops/CompositeType;Lsun/java2d/loops/SurfaceType;)Lsun/java2d/loops/GraphicsPrimitive;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
1: aload 1
aload 2
aload 3
2: invokestatic sun.java2d.loops.GraphicsPrimitiveMgr.locatePrim:(ILsun/java2d/loops/SurfaceType;Lsun/java2d/loops/CompositeType;Lsun/java2d/loops/SurfaceType;)Lsun/java2d/loops/GraphicsPrimitive;
astore 4
start local 4 3: aload 4
ifnonnull 9
4: iload 0
invokestatic sun.java2d.loops.GraphicsPrimitiveMgr.locateGeneral:(I)Lsun/java2d/loops/GraphicsPrimitive;
astore 4
5: aload 4
ifnull 9
6: aload 4
aload 1
aload 2
aload 3
invokevirtual sun.java2d.loops.GraphicsPrimitive.makePrimitive:(Lsun/java2d/loops/SurfaceType;Lsun/java2d/loops/CompositeType;Lsun/java2d/loops/SurfaceType;)Lsun/java2d/loops/GraphicsPrimitive;
astore 4
7: aload 4
ifnull 9
getstatic sun.java2d.loops.GraphicsPrimitive.traceflags:I
ifeq 9
8: aload 4
invokevirtual sun.java2d.loops.GraphicsPrimitive.traceWrap:()Lsun/java2d/loops/GraphicsPrimitive;
astore 4
9: StackMap locals: sun.java2d.loops.GraphicsPrimitive
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 primTypeID I
0 10 1 srctype Lsun/java2d/loops/SurfaceType;
0 10 2 comptype Lsun/java2d/loops/CompositeType;
0 10 3 dsttype Lsun/java2d/loops/SurfaceType;
3 10 4 prim Lsun/java2d/loops/GraphicsPrimitive;
MethodParameters:
Name Flags
primTypeID
srctype
comptype
dsttype
public static synchronized sun.java2d.loops.GraphicsPrimitive locatePrim(int, sun.java2d.loops.SurfaceType, sun.java2d.loops.CompositeType, sun.java2d.loops.SurfaceType);
descriptor: (ILsun/java2d/loops/SurfaceType;Lsun/java2d/loops/CompositeType;Lsun/java2d/loops/SurfaceType;)Lsun/java2d/loops/GraphicsPrimitive;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec
dup
invokespecial sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec.<init>:()V
astore 8
start local 8 1: aload 3
astore 5
start local 5 2: goto 18
3: StackMap locals: int sun.java2d.loops.SurfaceType sun.java2d.loops.CompositeType sun.java2d.loops.SurfaceType top sun.java2d.loops.SurfaceType top top sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec
StackMap stack:
aload 1
astore 4
start local 4 4: goto 16
5: StackMap locals: int sun.java2d.loops.SurfaceType sun.java2d.loops.CompositeType sun.java2d.loops.SurfaceType sun.java2d.loops.SurfaceType sun.java2d.loops.SurfaceType top top sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec
StackMap stack:
aload 2
astore 6
start local 6 6: goto 14
7: StackMap locals: int sun.java2d.loops.SurfaceType sun.java2d.loops.CompositeType sun.java2d.loops.SurfaceType sun.java2d.loops.SurfaceType sun.java2d.loops.SurfaceType sun.java2d.loops.CompositeType top sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec
StackMap stack:
aload 8
8: iload 0
aload 4
aload 6
aload 5
invokestatic sun.java2d.loops.GraphicsPrimitive.makeUniqueID:(ILsun/java2d/loops/SurfaceType;Lsun/java2d/loops/CompositeType;Lsun/java2d/loops/SurfaceType;)I
9: putfield sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec.uniqueID:I
10: aload 8
invokestatic sun.java2d.loops.GraphicsPrimitiveMgr.locate:(Lsun/java2d/loops/GraphicsPrimitiveMgr$PrimitiveSpec;)Lsun/java2d/loops/GraphicsPrimitive;
astore 7
start local 7 11: aload 7
ifnull 13
12: aload 7
areturn
13: StackMap locals: int sun.java2d.loops.SurfaceType sun.java2d.loops.CompositeType sun.java2d.loops.SurfaceType sun.java2d.loops.SurfaceType sun.java2d.loops.SurfaceType sun.java2d.loops.CompositeType sun.java2d.loops.GraphicsPrimitive sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec
StackMap stack:
aload 6
invokevirtual sun.java2d.loops.CompositeType.getSuperType:()Lsun/java2d/loops/CompositeType;
astore 6
end local 7 StackMap locals: int sun.java2d.loops.SurfaceType sun.java2d.loops.CompositeType sun.java2d.loops.SurfaceType sun.java2d.loops.SurfaceType sun.java2d.loops.SurfaceType sun.java2d.loops.CompositeType top sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec
StackMap stack:
14: aload 6
ifnonnull 7
15: aload 4
invokevirtual sun.java2d.loops.SurfaceType.getSuperType:()Lsun/java2d/loops/SurfaceType;
astore 4
end local 6 StackMap locals: int sun.java2d.loops.SurfaceType sun.java2d.loops.CompositeType sun.java2d.loops.SurfaceType sun.java2d.loops.SurfaceType sun.java2d.loops.SurfaceType top top sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec
StackMap stack:
16: aload 4
ifnonnull 5
17: aload 5
invokevirtual sun.java2d.loops.SurfaceType.getSuperType:()Lsun/java2d/loops/SurfaceType;
astore 5
end local 4 StackMap locals: int sun.java2d.loops.SurfaceType sun.java2d.loops.CompositeType sun.java2d.loops.SurfaceType top sun.java2d.loops.SurfaceType top top sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec
StackMap stack:
18: aload 5
ifnonnull 3
19: aconst_null
areturn
end local 8 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 primTypeID I
0 20 1 srctype Lsun/java2d/loops/SurfaceType;
0 20 2 comptype Lsun/java2d/loops/CompositeType;
0 20 3 dsttype Lsun/java2d/loops/SurfaceType;
4 18 4 src Lsun/java2d/loops/SurfaceType;
2 20 5 dst Lsun/java2d/loops/SurfaceType;
6 16 6 cmp Lsun/java2d/loops/CompositeType;
11 14 7 prim Lsun/java2d/loops/GraphicsPrimitive;
1 20 8 spec Lsun/java2d/loops/GraphicsPrimitiveMgr$PrimitiveSpec;
MethodParameters:
Name Flags
primTypeID
srctype
comptype
dsttype
private static sun.java2d.loops.GraphicsPrimitive locateGeneral(int);
descriptor: (I)Lsun/java2d/loops/GraphicsPrimitive;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic sun.java2d.loops.GraphicsPrimitiveMgr.generalPrimitives:[Lsun/java2d/loops/GraphicsPrimitive;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 3: goto 8
4: StackMap locals: int
StackMap stack:
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.generalPrimitives:[Lsun/java2d/loops/GraphicsPrimitive;
iload 1
aaload
astore 2
start local 2 5: aload 2
invokevirtual sun.java2d.loops.GraphicsPrimitive.getPrimTypeID:()I
iload 0
if_icmpne 7
6: aload 2
areturn
end local 2 7: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
8: iload 1
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.generalPrimitives:[Lsun/java2d/loops/GraphicsPrimitive;
arraylength
if_icmplt 4
end local 1 9: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 primTypeID I
3 9 1 i I
5 7 2 prim Lsun/java2d/loops/GraphicsPrimitive;
MethodParameters:
Name Flags
primTypeID
private static sun.java2d.loops.GraphicsPrimitive locate(sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec);
descriptor: (Lsun/java2d/loops/GraphicsPrimitiveMgr$PrimitiveSpec;)Lsun/java2d/loops/GraphicsPrimitive;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: getstatic sun.java2d.loops.GraphicsPrimitiveMgr.needssort:Z
ifeq 9
1: getstatic sun.java2d.loops.GraphicsPrimitive.traceflags:I
ifeq 7
2: iconst_0
istore 1
start local 1 3: goto 6
4: StackMap locals: int
StackMap stack:
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primitives:[Lsun/java2d/loops/GraphicsPrimitive;
iload 1
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primitives:[Lsun/java2d/loops/GraphicsPrimitive;
iload 1
aaload
invokevirtual sun.java2d.loops.GraphicsPrimitive.traceWrap:()Lsun/java2d/loops/GraphicsPrimitive;
aastore
5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primitives:[Lsun/java2d/loops/GraphicsPrimitive;
arraylength
if_icmplt 4
end local 1 7: StackMap locals:
StackMap stack:
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primitives:[Lsun/java2d/loops/GraphicsPrimitive;
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primSorter:Ljava/util/Comparator;
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
8: iconst_0
putstatic sun.java2d.loops.GraphicsPrimitiveMgr.needssort:Z
9: StackMap locals:
StackMap stack:
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primitives:[Lsun/java2d/loops/GraphicsPrimitive;
astore 1
start local 1 10: aload 1
ifnonnull 12
11: aconst_null
areturn
12: StackMap locals: sun.java2d.loops.GraphicsPrimitive[]
StackMap stack:
aload 1
aload 0
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primFinder:Ljava/util/Comparator;
invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;)I
istore 2
start local 2 13: iload 2
iflt 19
14: aload 1
iload 2
aaload
astore 3
start local 3 15: aload 3
instanceof sun.java2d.loops.GraphicsPrimitiveProxy
ifeq 18
16: aload 3
checkcast sun.java2d.loops.GraphicsPrimitiveProxy
invokevirtual sun.java2d.loops.GraphicsPrimitiveProxy.instantiate:()Lsun/java2d/loops/GraphicsPrimitive;
astore 3
17: aload 1
iload 2
aload 3
aastore
18: StackMap locals: int sun.java2d.loops.GraphicsPrimitive
StackMap stack:
aload 3
areturn
end local 3 19: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 spec Lsun/java2d/loops/GraphicsPrimitiveMgr$PrimitiveSpec;
3 7 1 i I
10 20 1 devCollection [Lsun/java2d/loops/GraphicsPrimitive;
13 20 2 index I
15 19 3 prim Lsun/java2d/loops/GraphicsPrimitive;
MethodParameters:
Name Flags
spec
private static void writeLog(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public static void testPrimitiveInstantiation();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
invokestatic sun.java2d.loops.GraphicsPrimitiveMgr.testPrimitiveInstantiation:(Z)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void testPrimitiveInstantiation(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primitives:[Lsun/java2d/loops/GraphicsPrimitive;
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 27
5: StackMap locals: int int int sun.java2d.loops.GraphicsPrimitive[] int
StackMap stack:
aload 3
iload 4
aaload
astore 5
start local 5 6: aload 5
instanceof sun.java2d.loops.GraphicsPrimitiveProxy
ifeq 23
7: aload 5
checkcast sun.java2d.loops.GraphicsPrimitiveProxy
invokevirtual sun.java2d.loops.GraphicsPrimitiveProxy.instantiate:()Lsun/java2d/loops/GraphicsPrimitive;
astore 6
start local 6 8: aload 6
invokevirtual sun.java2d.loops.GraphicsPrimitive.getSignature:()Ljava/lang/String;
aload 5
invokevirtual sun.java2d.loops.GraphicsPrimitive.getSignature:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 6
invokevirtual sun.java2d.loops.GraphicsPrimitive.getUniqueID:()I
aload 5
invokevirtual sun.java2d.loops.GraphicsPrimitive.getUniqueID:()I
if_icmpeq 18
10: StackMap locals: sun.java2d.loops.GraphicsPrimitive sun.java2d.loops.GraphicsPrimitive
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "r.getSignature == "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual sun.java2d.loops.GraphicsPrimitive.getSignature:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "r.getUniqueID == "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual sun.java2d.loops.GraphicsPrimitive.getUniqueID:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "p.getSignature == "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual sun.java2d.loops.GraphicsPrimitive.getSignature:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "p.getUniqueID == "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual sun.java2d.loops.GraphicsPrimitive.getUniqueID:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Primitive "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
15: ldc " returns wrong signature for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: aload 6
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
iinc 2 1
19: aload 6
astore 5
20: iload 0
ifeq 26
21: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 5
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
end local 6 22: goto 26
23: StackMap locals:
StackMap stack:
iload 0
ifeq 25
24: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " (not proxied)."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
iinc 1 1
end local 5 26: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
aload 3
arraylength
if_icmplt 5
end local 4 28: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
29: ldc " graphics primitives were not proxied."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
30: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
31: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
iload 2
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
32: ldc " proxied graphics primitives resolved correctly."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
34: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
iload 1
iload 2
iadd
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
35: ldc " total graphics primitives"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
36: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
37: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 verbose Z
1 38 1 resolved I
2 38 2 unresolved I
3 38 3 prims [Lsun/java2d/loops/GraphicsPrimitive;
4 28 4 j I
6 26 5 p Lsun/java2d/loops/GraphicsPrimitive;
8 22 6 r Lsun/java2d/loops/GraphicsPrimitive;
MethodParameters:
Name Flags
verbose
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.java2d.loops.GraphicsPrimitiveMgr.needssort:Z
ifeq 3
1: getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primitives:[Lsun/java2d/loops/GraphicsPrimitive;
getstatic sun.java2d.loops.GraphicsPrimitiveMgr.primSorter:Ljava/util/Comparator;
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
2: iconst_0
putstatic sun.java2d.loops.GraphicsPrimitiveMgr.needssort:Z
3: StackMap locals:
StackMap stack:
aload 0
arraylength
ifle 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: invokestatic sun.java2d.loops.GraphicsPrimitiveMgr.testPrimitiveInstantiation:(Z)V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 argv [Ljava/lang/String;
MethodParameters:
Name Flags
argv
}
SourceFile: "GraphicsPrimitiveMgr.java"
NestMembers:
sun.java2d.loops.GraphicsPrimitiveMgr$1 sun.java2d.loops.GraphicsPrimitiveMgr$2 sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec
InnerClasses:
public Float = java.awt.geom.Path2D$Float of java.awt.geom.Path2D
sun.java2d.loops.GraphicsPrimitiveMgr$1
sun.java2d.loops.GraphicsPrimitiveMgr$2
private PrimitiveSpec = sun.java2d.loops.GraphicsPrimitiveMgr$PrimitiveSpec of sun.java2d.loops.GraphicsPrimitiveMgr