public class sun.java2d.loops.GraphicsPrimitive$TraceReporter implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.loops.GraphicsPrimitive$TraceReporter
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/loops/GraphicsPrimitive$TraceReporter;
public static void setShutdownHook();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
sun/java2d/loops/GraphicsPrimitive$TraceReporter.lambda$0()Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
1: return
LocalVariableTable:
Start End Slot Name Signature
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=1
start local 0 0: invokestatic sun.java2d.loops.GraphicsPrimitive.getTraceOutputFile:()Ljava/io/PrintStream;
astore 1
start local 1 1: getstatic sun.java2d.loops.GraphicsPrimitive.traceMap:Ljava/util/HashMap;
invokevirtual java.util.HashMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
2: astore 2
start local 2 3: lconst_0
lstore 3
start local 3 4: iconst_0
istore 5
start local 5 5: goto 16
6: StackMap locals: sun.java2d.loops.GraphicsPrimitive$TraceReporter java.io.PrintStream java.util.Iterator long int
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 7: aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
astore 7
start local 7 8: aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast int[]
astore 8
start local 8 9: aload 8
iconst_0
iaload
iconst_1
if_icmpne 12
10: aload 1
ldc "1 call to "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
11: goto 13
12: StackMap locals: java.util.Map$Entry java.lang.Object int[]
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
aload 8
iconst_0
iaload
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " calls to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 1
aload 7
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
14: iinc 5 1
15: lload 3
aload 8
iconst_0
iaload
i2l
ladd
lstore 3
end local 8 end local 7 end local 6 16: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
17: iload 5
ifne 20
18: aload 1
ldc "No graphics primitives executed"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
19: goto 24
StackMap locals:
StackMap stack:
20: iload 5
iconst_1
if_icmple 24
21: aload 1
new java.lang.StringBuilder
dup
lload 3
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " total calls to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " different primitives"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
24: StackMap locals:
StackMap stack:
return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/java2d/loops/GraphicsPrimitive$TraceReporter;
1 25 1 ps Ljava/io/PrintStream;
3 25 2 iterator Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/Object;[I>;>;
4 25 3 total J
5 25 5 numprims I
7 16 6 me Ljava/util/Map$Entry<Ljava/lang/Object;[I>;
8 16 7 prim Ljava/lang/Object;
9 16 8 count [I
private static java.lang.Void lambda$0();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=8, locals=2, args_size=0
0: new sun.java2d.loops.GraphicsPrimitive$TraceReporter
dup
invokespecial sun.java2d.loops.GraphicsPrimitive$TraceReporter.<init>:()V
astore 0
start local 0 1: new java.lang.Thread
dup
2: invokestatic sun.awt.util.ThreadGroupUtils.getRootThreadGroup:()Ljava/lang/ThreadGroup;
aload 0
3: ldc "TraceReporter"
lconst_0
iconst_0
4: invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
astore 1
start local 1 5: aload 1
aconst_null
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
6: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
aload 1
invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 8 0 t Lsun/java2d/loops/GraphicsPrimitive$TraceReporter;
5 8 1 thread Ljava/lang/Thread;
}
SourceFile: "GraphicsPrimitive.java"
NestHost: sun.java2d.loops.GraphicsPrimitive
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public TraceReporter = sun.java2d.loops.GraphicsPrimitive$TraceReporter of sun.java2d.loops.GraphicsPrimitive