class com.sun.tools.hat.internal.server.RootsQuery 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.RootsQuery
  super_class: com.sun.tools.hat.internal.server.QueryHandler
{
  private boolean includeWeak;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  public void <init>(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.hat.internal.server.RootsQuery this
        start local 1 // boolean includeWeak
         0: .line 51
            aload 0 /* this */
            invokespecial com.sun.tools.hat.internal.server.QueryHandler.<init>:()V
         1: .line 52
            aload 0 /* this */
            iload 1 /* includeWeak */
            putfield com.sun.tools.hat.internal.server.RootsQuery.includeWeak:Z
         2: .line 53
            return
        end local 1 // boolean includeWeak
        end local 0 // com.sun.tools.hat.internal.server.RootsQuery this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Lcom/sun/tools/hat/internal/server/RootsQuery;
            0    3     1  includeWeak  Z
    MethodParameters:
             Name  Flags
      includeWeak  

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=11, args_size=1
        start local 0 // com.sun.tools.hat.internal.server.RootsQuery this
         0: .line 56
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.query:Ljava/lang/String;
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.parseHex:(Ljava/lang/String;)J
            lstore 1 /* id */
        start local 1 // long id
         1: .line 57
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.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 /* target */
        start local 3 // com.sun.tools.hat.internal.model.JavaHeapObject target
         2: .line 58
            aload 3 /* target */
            ifnonnull 7
         3: .line 59
            aload 0 /* this */
            ldc "Object not found for rootset"
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.startHtml:(Ljava/lang/String;)V
         4: .line 60
            aload 0 /* this */
            ldc "object not found"
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.error:(Ljava/lang/String;)V
         5: .line 61
            aload 0 /* this */
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.endHtml:()V
         6: .line 62
            return
         7: .line 64
      StackMap locals: long com.sun.tools.hat.internal.model.JavaHeapObject
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.includeWeak:Z
            ifeq 12
         8: .line 65
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            ldc "Rootset references to "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* target */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
         9: .line 66
            ldc " (includes weak refs)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        10: .line 65
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.startHtml:(Ljava/lang/String;)V
        11: .line 67
            goto 15
        12: .line 68
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            ldc "Rootset references to "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* target */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
        13: .line 69
            ldc " (excludes weak refs)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        14: .line 68
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.startHtml:(Ljava/lang/String;)V
        15: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            invokevirtual java.io.PrintWriter.flush:()V
        16: .line 74
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.snapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
            aload 3 /* target */
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.includeWeak:Z
            invokevirtual com.sun.tools.hat.internal.model.Snapshot.rootsetReferencesTo:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;Z)[Lcom/sun/tools/hat/internal/model/ReferenceChain;
        17: .line 73
            astore 4 /* refs */
        start local 4 // com.sun.tools.hat.internal.model.ReferenceChain[] refs
        18: .line 75
            aload 4 /* refs */
            new com.sun.tools.hat.internal.server.RootsQuery$1
            dup
            aload 0 /* this */
            invokespecial com.sun.tools.hat.internal.server.RootsQuery$1.<init>:(Lcom/sun/tools/hat/internal/server/RootsQuery;)V
            invokestatic com.sun.tools.hat.internal.util.ArraySorter.sort:([Ljava/lang/Object;Lcom/sun/tools/hat/internal/util/Comparer;)V
        19: .line 89
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "<h1>References to "
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
        20: .line 90
            aload 0 /* this */
            aload 3 /* target */
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.printThing:(Lcom/sun/tools/hat/internal/model/JavaThing;)V
        21: .line 91
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "</h1>"
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
        22: .line 92
            iconst_0
            istore 5 /* lastType */
        start local 5 // int lastType
        23: .line 93
            iconst_0
            istore 6 /* i */
        start local 6 // int i
        24: goto 54
        25: .line 94
      StackMap locals: com.sun.tools.hat.internal.model.ReferenceChain[] int int
      StackMap stack:
            aload 4 /* refs */
            iload 6 /* i */
            aaload
            astore 7 /* ref */
        start local 7 // com.sun.tools.hat.internal.model.ReferenceChain ref
        26: .line 95
            aload 7 /* ref */
            invokevirtual com.sun.tools.hat.internal.model.ReferenceChain.getObj:()Lcom/sun/tools/hat/internal/model/JavaHeapObject;
            invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getRoot:()Lcom/sun/tools/hat/internal/model/Root;
            astore 8 /* root */
        start local 8 // com.sun.tools.hat.internal.model.Root root
        27: .line 96
            aload 8 /* root */
            invokevirtual com.sun.tools.hat.internal.model.Root.getType:()I
            iload 5 /* lastType */
            if_icmpeq 32
        28: .line 97
            aload 8 /* root */
            invokevirtual com.sun.tools.hat.internal.model.Root.getType:()I
            istore 5 /* lastType */
        29: .line 98
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "<h2>"
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
        30: .line 99
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            aload 8 /* root */
            invokevirtual com.sun.tools.hat.internal.model.Root.getTypeName:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " References"
            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.RootsQuery.print:(Ljava/lang/String;)V
        31: .line 100
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "</h2>"
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
        32: .line 102
      StackMap locals: com.sun.tools.hat.internal.model.ReferenceChain com.sun.tools.hat.internal.model.Root
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "<h3>"
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
        33: .line 103
            aload 0 /* this */
            aload 8 /* root */
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.printRoot:(Lcom/sun/tools/hat/internal/model/Root;)V
        34: .line 104
            aload 8 /* root */
            invokevirtual com.sun.tools.hat.internal.model.Root.getReferer:()Lcom/sun/tools/hat/internal/model/JavaHeapObject;
            ifnull 39
        35: .line 105
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "<small> (from "
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
        36: .line 106
            aload 0 /* this */
            aload 8 /* root */
            invokevirtual com.sun.tools.hat.internal.model.Root.getReferer:()Lcom/sun/tools/hat/internal/model/JavaHeapObject;
            invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getId:()J
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.printThingAnchorTag:(J)V
        37: .line 107
            aload 0 /* this */
            aload 8 /* root */
            invokevirtual com.sun.tools.hat.internal.model.Root.getReferer:()Lcom/sun/tools/hat/internal/model/JavaHeapObject;
            invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.toString:()Ljava/lang/String;
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.print:(Ljava/lang/String;)V
        38: .line 108
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc ")</a></small>"
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
        39: .line 111
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc " :</h3>"
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
        40: .line 112
            goto 52
        41: .line 113
      StackMap locals:
      StackMap stack:
            aload 7 /* ref */
            invokevirtual com.sun.tools.hat.internal.model.ReferenceChain.getNext:()Lcom/sun/tools/hat/internal/model/ReferenceChain;
            astore 9 /* next */
        start local 9 // com.sun.tools.hat.internal.model.ReferenceChain next
        42: .line 114
            aload 7 /* ref */
            invokevirtual com.sun.tools.hat.internal.model.ReferenceChain.getObj:()Lcom/sun/tools/hat/internal/model/JavaHeapObject;
            astore 10 /* obj */
        start local 10 // com.sun.tools.hat.internal.model.JavaHeapObject obj
        43: .line 115
            aload 0 /* this */
            ldc "--> "
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.print:(Ljava/lang/String;)V
        44: .line 116
            aload 0 /* this */
            aload 10 /* obj */
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.printThing:(Lcom/sun/tools/hat/internal/model/JavaThing;)V
        45: .line 117
            aload 9 /* next */
            ifnull 50
        46: .line 118
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            ldc " ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        47: .line 119
            aload 10 /* obj */
            aload 9 /* next */
            invokevirtual com.sun.tools.hat.internal.model.ReferenceChain.getObj:()Lcom/sun/tools/hat/internal/model/JavaHeapObject;
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.snapshot:Lcom/sun/tools/hat/internal/model/Snapshot;
            invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.describeReferenceTo:(Lcom/sun/tools/hat/internal/model/JavaThing;Lcom/sun/tools/hat/internal/model/Snapshot;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        48: .line 120
            ldc ":)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        49: .line 118
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.print:(Ljava/lang/String;)V
        50: .line 122
      StackMap locals: com.sun.tools.hat.internal.model.ReferenceChain com.sun.tools.hat.internal.model.JavaHeapObject
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "<br>"
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
        51: .line 123
            aload 9 /* next */
            astore 7 /* ref */
        end local 10 // com.sun.tools.hat.internal.model.JavaHeapObject obj
        end local 9 // com.sun.tools.hat.internal.model.ReferenceChain next
        52: .line 112
      StackMap locals:
      StackMap stack:
            aload 7 /* ref */
            ifnonnull 41
        end local 8 // com.sun.tools.hat.internal.model.Root root
        end local 7 // com.sun.tools.hat.internal.model.ReferenceChain ref
        53: .line 93
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        54: iload 6 /* i */
            aload 4 /* refs */
            arraylength
            if_icmplt 25
        end local 6 // int i
        55: .line 127
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "<h2>Other queries</h2>"
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
        56: .line 129
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.includeWeak:Z
            ifeq 63
        57: .line 130
            aload 0 /* this */
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.printAnchorStart:()V
        58: .line 131
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "roots/"
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
        59: .line 132
            aload 0 /* this */
            lload 1 /* id */
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.printHex:(J)V
        60: .line 133
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "\">"
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
        61: .line 134
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "Exclude weak refs</a><br>"
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
        62: .line 135
            aload 0 /* this */
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.endHtml:()V
        63: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.includeWeak:Z
            ifne 69
        64: .line 139
            aload 0 /* this */
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.printAnchorStart:()V
        65: .line 140
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "allRoots/"
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
        66: .line 141
            aload 0 /* this */
            lload 1 /* id */
            invokevirtual com.sun.tools.hat.internal.server.RootsQuery.printHex:(J)V
        67: .line 142
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "\">"
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
        68: .line 143
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.server.RootsQuery.out:Ljava/io/PrintWriter;
            ldc "Include weak refs</a><br>"
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
        69: .line 145
      StackMap locals:
      StackMap stack:
            return
        end local 5 // int lastType
        end local 4 // com.sun.tools.hat.internal.model.ReferenceChain[] refs
        end local 3 // com.sun.tools.hat.internal.model.JavaHeapObject target
        end local 1 // long id
        end local 0 // com.sun.tools.hat.internal.server.RootsQuery this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   70     0      this  Lcom/sun/tools/hat/internal/server/RootsQuery;
            1   70     1        id  J
            2   70     3    target  Lcom/sun/tools/hat/internal/model/JavaHeapObject;
           18   70     4      refs  [Lcom/sun/tools/hat/internal/model/ReferenceChain;
           23   70     5  lastType  I
           24   55     6         i  I
           26   53     7       ref  Lcom/sun/tools/hat/internal/model/ReferenceChain;
           27   53     8      root  Lcom/sun/tools/hat/internal/model/Root;
           42   52     9      next  Lcom/sun/tools/hat/internal/model/ReferenceChain;
           43   52    10       obj  Lcom/sun/tools/hat/internal/model/JavaHeapObject;
}
SourceFile: "RootsQuery.java"
NestMembers:
  com.sun.tools.hat.internal.server.RootsQuery$1
InnerClasses:
  com.sun.tools.hat.internal.server.RootsQuery$1