public class com.sun.tools.hat.internal.server.FinalizerSummaryQuery extends com.sun.tools.hat.internal.server.QueryHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.hat.internal.server.FinalizerSummaryQuery
super_class: com.sun.tools.hat.internal.server.QueryHandler
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.tools.hat.internal.server.FinalizerSummaryQuery this
0: .line 38
aload 0 /* this */
invokespecial com.sun.tools.hat.internal.server.QueryHandler.<init>:()V
return
end local 0 // com.sun.tools.hat.internal.server.FinalizerSummaryQuery this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/server/FinalizerSummaryQuery;
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 // com.sun.tools.hat.internal.server.FinalizerSummaryQuery this
0: .line 40
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.snapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getFinalizerObjects:()Ljava/util/Enumeration;
astore 1 /* objs */
start local 1 // java.util.Enumeration objs
1: .line 41
aload 0 /* this */
ldc "Finalizer Summary"
invokevirtual com.sun.tools.hat.internal.server.FinalizerSummaryQuery.startHtml:(Ljava/lang/String;)V
2: .line 43
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "<p align='center'>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
3: .line 44
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "<b><a href='/'>All Classes (excluding platform)</a></b>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
4: .line 45
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "</p>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
5: .line 47
aload 0 /* this */
aload 1 /* objs */
invokevirtual com.sun.tools.hat.internal.server.FinalizerSummaryQuery.printFinalizerSummary:(Ljava/util/Enumeration;)V
6: .line 48
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.FinalizerSummaryQuery.endHtml:()V
7: .line 49
return
end local 1 // java.util.Enumeration objs
end local 0 // com.sun.tools.hat.internal.server.FinalizerSummaryQuery this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/hat/internal/server/FinalizerSummaryQuery;
1 8 1 objs Ljava/util/Enumeration;
private void printFinalizerSummary(java.util.Enumeration);
descriptor: (Ljava/util/Enumeration;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 // com.sun.tools.hat.internal.server.FinalizerSummaryQuery this
start local 1 // java.util.Enumeration objs
0: .line 78
iconst_0
istore 2 /* count */
start local 2 // int count
1: .line 79
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3 /* map */
start local 3 // java.util.Map map
2: .line 81
goto 10
3: .line 82
StackMap locals: int java.util.Map
StackMap stack:
aload 1 /* objs */
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast com.sun.tools.hat.internal.model.JavaHeapObject
astore 4 /* obj */
start local 4 // com.sun.tools.hat.internal.model.JavaHeapObject obj
4: .line 83
iinc 2 /* count */ 1
5: .line 84
aload 4 /* obj */
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
astore 5 /* clazz */
start local 5 // com.sun.tools.hat.internal.model.JavaClass clazz
6: .line 85
aload 3 /* map */
aload 5 /* clazz */
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 8
7: .line 86
aload 3 /* map */
aload 5 /* clazz */
new com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement
dup
aload 5 /* clazz */
invokespecial com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement.<init>:(Lcom/sun/tools/hat/internal/model/JavaClass;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: .line 88
StackMap locals: com.sun.tools.hat.internal.model.JavaHeapObject com.sun.tools.hat.internal.model.JavaClass
StackMap stack:
aload 3 /* map */
aload 5 /* clazz */
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement
astore 6 /* element */
start local 6 // com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement element
9: .line 89
aload 6 /* element */
invokevirtual com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement.updateCount:()V
end local 6 // com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement element
end local 5 // com.sun.tools.hat.internal.model.JavaClass clazz
end local 4 // com.sun.tools.hat.internal.model.JavaHeapObject obj
10: .line 81
StackMap locals:
StackMap stack:
aload 1 /* objs */
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
11: .line 92
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "<p align='center'>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
12: .line 93
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "<b>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
13: .line 94
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "Total "
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
14: .line 95
iload 2 /* count */
ifeq 17
15: .line 96
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "<a href='/finalizerObjects/'>instances</a>"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
16: .line 97
goto 18
17: .line 98
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "instances"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
18: .line 100
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc " pending finalization: "
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
19: .line 101
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
iload 2 /* count */
invokevirtual java.io.PrintWriter.print:(I)V
20: .line 102
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "</b></p><hr>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
21: .line 104
iload 2 /* count */
ifne 23
22: .line 105
return
23: .line 109
StackMap locals:
StackMap stack:
aload 3 /* map */
invokeinterface java.util.Map.size:()I
anewarray com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement
astore 4 /* elements */
start local 4 // com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement[] elements
24: .line 110
aload 3 /* map */
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 4 /* elements */
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
25: .line 111
aload 4 /* elements */
new com.sun.tools.hat.internal.server.FinalizerSummaryQuery$1
dup
aload 0 /* this */
invokespecial com.sun.tools.hat.internal.server.FinalizerSummaryQuery$1.<init>:(Lcom/sun/tools/hat/internal/server/FinalizerSummaryQuery;)V
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
26: .line 117
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "<table border=1 align=center>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
27: .line 118
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "<tr><th>Count</th><th>Class</th></tr>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
28: .line 119
iconst_0
istore 5 /* j */
start local 5 // int j
29: goto 36
30: .line 120
StackMap locals: com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement[] int
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "<tr><td>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
31: .line 121
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
aload 4 /* elements */
iload 5 /* j */
aaload
invokevirtual com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement.getCount:()J
invokevirtual java.io.PrintWriter.println:(J)V
32: .line 122
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "</td><td>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
33: .line 123
aload 0 /* this */
aload 4 /* elements */
iload 5 /* j */
aaload
invokevirtual com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
invokevirtual com.sun.tools.hat.internal.server.FinalizerSummaryQuery.printClass:(Lcom/sun/tools/hat/internal/model/JavaClass;)V
34: .line 124
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "</td><tr>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
35: .line 119
iinc 5 /* j */ 1
StackMap locals:
StackMap stack:
36: iload 5 /* j */
aload 4 /* elements */
arraylength
if_icmplt 30
end local 5 // int j
37: .line 126
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.FinalizerSummaryQuery.out:Ljava/io/PrintWriter;
ldc "</table>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
38: .line 127
return
end local 4 // com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement[] elements
end local 3 // java.util.Map map
end local 2 // int count
end local 1 // java.util.Enumeration objs
end local 0 // com.sun.tools.hat.internal.server.FinalizerSummaryQuery this
LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lcom/sun/tools/hat/internal/server/FinalizerSummaryQuery;
0 39 1 objs Ljava/util/Enumeration;
1 39 2 count I
2 39 3 map Ljava/util/Map<Lcom/sun/tools/hat/internal/model/JavaClass;Lcom/sun/tools/hat/internal/server/FinalizerSummaryQuery$HistogramElement;>;
4 10 4 obj Lcom/sun/tools/hat/internal/model/JavaHeapObject;
6 10 5 clazz Lcom/sun/tools/hat/internal/model/JavaClass;
9 10 6 element Lcom/sun/tools/hat/internal/server/FinalizerSummaryQuery$HistogramElement;
24 39 4 elements [Lcom/sun/tools/hat/internal/server/FinalizerSummaryQuery$HistogramElement;
29 37 5 j I
MethodParameters:
Name Flags
objs
}
SourceFile: "FinalizerSummaryQuery.java"
NestMembers:
com.sun.tools.hat.internal.server.FinalizerSummaryQuery$1 com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement
InnerClasses:
com.sun.tools.hat.internal.server.FinalizerSummaryQuery$1
private HistogramElement = com.sun.tools.hat.internal.server.FinalizerSummaryQuery$HistogramElement of com.sun.tools.hat.internal.server.FinalizerSummaryQuery