class com.sun.tools.hat.internal.server.ReachableQuery extends com.sun.tools.hat.internal.server.QueryHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.hat.internal.server.ReachableQuery
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.ReachableQuery this
0: .line 47
aload 0 /* this */
invokespecial com.sun.tools.hat.internal.server.QueryHandler.<init>:()V
1: .line 48
return
end local 0 // com.sun.tools.hat.internal.server.ReachableQuery this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/hat/internal/server/ReachableQuery;
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=1
start local 0 // com.sun.tools.hat.internal.server.ReachableQuery this
0: .line 51
aload 0 /* this */
new java.lang.StringBuilder
dup
ldc "Objects Reachable From "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.query:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.hat.internal.server.ReachableQuery.startHtml:(Ljava/lang/String;)V
1: .line 52
aload 0 /* this */
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.query:Ljava/lang/String;
invokevirtual com.sun.tools.hat.internal.server.ReachableQuery.parseHex:(Ljava/lang/String;)J
lstore 1 /* id */
start local 1 // long id
2: .line 53
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.snapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
lload 1 /* id */
invokevirtual com.sun.tools.hat.internal.model.Snapshot.findThing:(J)Lcom/sun/tools/hat/internal/model/JavaHeapObject;
astore 3 /* root */
start local 3 // com.sun.tools.hat.internal.model.JavaHeapObject root
3: .line 54
new com.sun.tools.hat.internal.model.ReachableObjects
dup
aload 3 /* root */
4: .line 55
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.snapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getReachableExcludes:()Lcom/sun/tools/hat/internal/model/ReachableExcludes;
5: .line 54
invokespecial com.sun.tools.hat.internal.model.ReachableObjects.<init>:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;Lcom/sun/tools/hat/internal/model/ReachableExcludes;)V
astore 4 /* ro */
start local 4 // com.sun.tools.hat.internal.model.ReachableObjects ro
6: .line 57
aload 4 /* ro */
invokevirtual com.sun.tools.hat.internal.model.ReachableObjects.getTotalSize:()J
lstore 5 /* totalSize */
start local 5 // long totalSize
7: .line 58
aload 4 /* ro */
invokevirtual com.sun.tools.hat.internal.model.ReachableObjects.getReachables:()[Lcom/sun/tools/hat/internal/model/JavaThing;
astore 7 /* things */
start local 7 // com.sun.tools.hat.internal.model.JavaThing[] things
8: .line 59
aload 7 /* things */
arraylength
i2l
lstore 8 /* instances */
start local 8 // long instances
9: .line 61
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.out:Ljava/io/PrintWriter;
ldc "<strong>"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
10: .line 62
aload 0 /* this */
aload 3 /* root */
invokevirtual com.sun.tools.hat.internal.server.ReachableQuery.printThing:(Lcom/sun/tools/hat/internal/model/JavaThing;)V
11: .line 63
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.out:Ljava/io/PrintWriter;
ldc "</strong><br>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
12: .line 64
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.out:Ljava/io/PrintWriter;
ldc "<br>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
13: .line 65
iconst_0
istore 10 /* i */
start local 10 // int i
14: goto 18
15: .line 66
StackMap locals: com.sun.tools.hat.internal.server.ReachableQuery long com.sun.tools.hat.internal.model.JavaHeapObject com.sun.tools.hat.internal.model.ReachableObjects long com.sun.tools.hat.internal.model.JavaThing[] long int
StackMap stack:
aload 0 /* this */
aload 7 /* things */
iload 10 /* i */
aaload
invokevirtual com.sun.tools.hat.internal.server.ReachableQuery.printThing:(Lcom/sun/tools/hat/internal/model/JavaThing;)V
16: .line 67
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.out:Ljava/io/PrintWriter;
ldc "<br>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
17: .line 65
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
18: iload 10 /* i */
aload 7 /* things */
arraylength
if_icmplt 15
end local 10 // int i
19: .line 70
aload 0 /* this */
aload 4 /* ro */
invokevirtual com.sun.tools.hat.internal.model.ReachableObjects.getUsedFields:()[Ljava/lang/String;
ldc "Data Members Followed"
invokevirtual com.sun.tools.hat.internal.server.ReachableQuery.printFields:([Ljava/lang/String;Ljava/lang/String;)V
20: .line 71
aload 0 /* this */
aload 4 /* ro */
invokevirtual com.sun.tools.hat.internal.model.ReachableObjects.getExcludedFields:()[Ljava/lang/String;
ldc "Excluded Data Members"
invokevirtual com.sun.tools.hat.internal.server.ReachableQuery.printFields:([Ljava/lang/String;Ljava/lang/String;)V
21: .line 72
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.out:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "<h2>Total of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 8 /* instances */
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " instances occupying "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 5 /* totalSize */
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bytes.</h2>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
22: .line 74
aload 0 /* this */
invokevirtual com.sun.tools.hat.internal.server.ReachableQuery.endHtml:()V
23: .line 75
return
end local 8 // long instances
end local 7 // com.sun.tools.hat.internal.model.JavaThing[] things
end local 5 // long totalSize
end local 4 // com.sun.tools.hat.internal.model.ReachableObjects ro
end local 3 // com.sun.tools.hat.internal.model.JavaHeapObject root
end local 1 // long id
end local 0 // com.sun.tools.hat.internal.server.ReachableQuery this
LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/tools/hat/internal/server/ReachableQuery;
2 24 1 id J
3 24 3 root Lcom/sun/tools/hat/internal/model/JavaHeapObject;
6 24 4 ro Lcom/sun/tools/hat/internal/model/ReachableObjects;
7 24 5 totalSize J
8 24 7 things [Lcom/sun/tools/hat/internal/model/JavaThing;
9 24 8 instances J
14 19 10 i I
private void printFields(java.lang.String[], java.lang.String);
descriptor: ([Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 // com.sun.tools.hat.internal.server.ReachableQuery this
start local 1 // java.lang.String[] fields
start local 2 // java.lang.String title
0: .line 78
aload 1 /* fields */
arraylength
ifne 2
1: .line 79
return
2: .line 81
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.out:Ljava/io/PrintWriter;
ldc "<h3>"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
3: .line 82
aload 0 /* this */
aload 2 /* title */
invokevirtual com.sun.tools.hat.internal.server.ReachableQuery.print:(Ljava/lang/String;)V
4: .line 83
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.out:Ljava/io/PrintWriter;
ldc "</h3>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
5: .line 85
iconst_0
istore 3 /* i */
start local 3 // int i
6: goto 10
7: .line 86
StackMap locals: int
StackMap stack:
aload 0 /* this */
aload 1 /* fields */
iload 3 /* i */
aaload
invokevirtual com.sun.tools.hat.internal.server.ReachableQuery.print:(Ljava/lang/String;)V
8: .line 87
aload 0 /* this */
getfield com.sun.tools.hat.internal.server.ReachableQuery.out:Ljava/io/PrintWriter;
ldc "<br>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
9: .line 85
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
10: iload 3 /* i */
aload 1 /* fields */
arraylength
if_icmplt 7
end local 3 // int i
11: .line 89
return
end local 2 // java.lang.String title
end local 1 // java.lang.String[] fields
end local 0 // com.sun.tools.hat.internal.server.ReachableQuery this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/hat/internal/server/ReachableQuery;
0 12 1 fields [Ljava/lang/String;
0 12 2 title Ljava/lang/String;
6 11 3 i I
MethodParameters:
Name Flags
fields
title
}
SourceFile: "ReachableQuery.java"