public class sun.jvm.hotspot.utilities.HeapGXLWriter extends sun.jvm.hotspot.utilities.AbstractHeapGraphWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.utilities.HeapGXLWriter
super_class: sun.jvm.hotspot.utilities.AbstractHeapGraphWriter
{
private static final java.lang.String ENCODING;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "UTF-8"
private java.util.List<sun.jvm.hotspot.oops.OopField> refFields;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lsun/jvm/hotspot/oops/OopField;>;
private boolean isArray;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.io.PrintWriter out;
descriptor: Ljava/io/PrintWriter;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.jvm.hotspot.utilities.AbstractHeapGraphWriter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
public void write(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.io.PrintWriter
dup
new java.io.BufferedWriter
dup
new java.io.FileWriter
dup
aload 1
invokespecial java.io.FileWriter.<init>:(Ljava/lang/String;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
putfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
1: aload 0
invokespecial sun.jvm.hotspot.utilities.AbstractHeapGraphWriter.write:()V
2: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.checkError:()Z
ifeq 4
3: new java.io.IOException
dup
invokespecial java.io.IOException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 6 1 fileName Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fileName
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "<?xml version='1.0' encoding='"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
1: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "UTF-8"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
2: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "'?>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
3: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "<gxl>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
4: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "<graph id='JavaHeap'>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
5: aload 0
ldc "creation-date"
ldc "string"
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
invokevirtual java.util.Date.toString:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
6: aload 0
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeVMInfo:()V
7: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "<node id='"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
8: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aconst_null
invokestatic sun.jvm.hotspot.utilities.HeapGXLWriter.getID:(Lsun/jvm/hotspot/oops/Oop;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
9: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "'/>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
Exceptions:
throws java.io.IOException
protected void (sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.jvm.hotspot.utilities.HeapGXLWriter.refFields:Ljava/util/List;
1: aload 0
aload 1
invokevirtual sun.jvm.hotspot.oops.Oop.isArray:()Z
putfield sun.jvm.hotspot.utilities.HeapGXLWriter.isArray:Z
2: aload 0
aload 1
aload 1
invokevirtual sun.jvm.hotspot.oops.Oop.getKlass:()Lsun/jvm/hotspot/oops/Klass;
invokevirtual sun.jvm.hotspot.oops.Klass.getJavaMirror:()Lsun/jvm/hotspot/oops/Instance;
ldc "instanceof"
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeEdge:(Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/Oop;Ljava/lang/String;)V
3: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "<node id='"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
4: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 1
invokestatic sun.jvm.hotspot.utilities.HeapGXLWriter.getID:(Lsun/jvm/hotspot/oops/Oop;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
5: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "'>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 7 1 oop Lsun/jvm/hotspot/oops/Oop;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
protected void (sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "</node>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.refFields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 11
3: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvm.hotspot.oops.OopField
astore 3
start local 3 4: aload 3
aload 1
invokevirtual sun.jvm.hotspot.oops.OopField.getValue:(Lsun/jvm/hotspot/oops/Oop;)Lsun/jvm/hotspot/oops/Oop;
astore 4
start local 4 5: aload 3
invokevirtual sun.jvm.hotspot.oops.OopField.getID:()Lsun/jvm/hotspot/oops/FieldIdentifier;
invokevirtual sun.jvm.hotspot.oops.FieldIdentifier.getName:()Ljava/lang/String;
astore 5
start local 5 6: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.isArray:Z
ifeq 9
7: new java.lang.StringBuilder
dup
ldc "element"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
8: goto 10
9: StackMap locals: sun.jvm.hotspot.oops.OopField sun.jvm.hotspot.oops.Oop java.lang.String
StackMap stack:
aload 5
invokestatic sun.jvm.hotspot.utilities.HeapGXLWriter.identifierToXMLName:(Ljava/lang/String;)Ljava/lang/String;
astore 5
10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 5
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeEdge:(Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/Oop;Ljava/lang/String;)V
end local 5 end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 2 12: aload 0
aconst_null
putfield sun.jvm.hotspot.utilities.HeapGXLWriter.refFields:Ljava/util/List;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 14 1 oop Lsun/jvm/hotspot/oops/Oop;
2 12 2 itr Ljava/util/Iterator;
4 11 3 field Lsun/jvm/hotspot/oops/OopField;
5 11 4 ref Lsun/jvm/hotspot/oops/Oop;
6 11 5 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
protected void writeObjectArray(sun.jvm.hotspot.oops.ObjArray);
descriptor: (Lsun/jvm/hotspot/oops/ObjArray;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeObjectHeader:(Lsun/jvm/hotspot/oops/Oop;)V
1: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeArrayLength:(Lsun/jvm/hotspot/oops/Array;)V
2: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeObjectFields:(Lsun/jvm/hotspot/oops/Oop;)V
3: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeObjectFooter:(Lsun/jvm/hotspot/oops/Oop;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 5 1 array Lsun/jvm/hotspot/oops/ObjArray;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
array
protected void writePrimitiveArray(sun.jvm.hotspot.oops.TypeArray);
descriptor: (Lsun/jvm/hotspot/oops/TypeArray;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeObjectHeader:(Lsun/jvm/hotspot/oops/Oop;)V
1: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeArrayLength:(Lsun/jvm/hotspot/oops/Array;)V
2: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "\t<attr name='elements'>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
3: aload 1
invokevirtual sun.jvm.hotspot.oops.TypeArray.getKlass:()Lsun/jvm/hotspot/oops/Klass;
checkcast sun.jvm.hotspot.oops.TypeArrayKlass
astore 2
start local 2 4: aload 2
invokevirtual sun.jvm.hotspot.oops.TypeArrayKlass.getElementType:()I
iconst_5
if_icmpne 9
5: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "\t<string>"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
6: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 1
invokestatic sun.jvm.hotspot.oops.OopUtilities.charArrayToString:(Lsun/jvm/hotspot/oops/TypeArray;)Ljava/lang/String;
invokestatic sun.jvm.hotspot.utilities.HeapGXLWriter.escapeXMLChars:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
7: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "</string>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
8: goto 12
9: StackMap locals: sun.jvm.hotspot.oops.TypeArrayKlass
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "\t<seq>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
10: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeObjectFields:(Lsun/jvm/hotspot/oops/Oop;)V
11: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "\t</seq>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "\t</attr>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
13: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeObjectFooter:(Lsun/jvm/hotspot/oops/Oop;)V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 15 1 array Lsun/jvm/hotspot/oops/TypeArray;
4 15 2 klass Lsun/jvm/hotspot/oops/TypeArrayKlass;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
array
protected void writeClass(sun.jvm.hotspot.oops.Instance);
descriptor: (Lsun/jvm/hotspot/oops/Instance;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=14, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeObjectHeader:(Lsun/jvm/hotspot/oops/Oop;)V
1: aload 1
invokestatic sun.jvm.hotspot.oops.java_lang_Class.asKlass:(Lsun/jvm/hotspot/oops/Oop;)Lsun/jvm/hotspot/oops/Klass;
astore 2
start local 2 2: aload 2
instanceof sun.jvm.hotspot.oops.InstanceKlass
istore 3
start local 3 3: aload 2
ifnull 13
4: aload 2
invokevirtual sun.jvm.hotspot.oops.Klass.getName:()Lsun/jvm/hotspot/oops/Symbol;
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 0
ldc "class-name"
ldc "string"
aload 4
invokevirtual sun.jvm.hotspot.oops.Symbol.asString:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
7: StackMap locals: sun.jvm.hotspot.oops.Klass int sun.jvm.hotspot.oops.Symbol
StackMap stack:
iload 3
ifeq 13
8: aload 2
invokevirtual sun.jvm.hotspot.oops.Klass.getLayoutHelper:()I
i2l
lstore 5
start local 5 9: aload 0
ldc "object-size"
ldc "int"
10: lload 5
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
11: invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
12: aload 0
aload 2
checkcast sun.jvm.hotspot.oops.InstanceKlass
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeObjectFields:(Lsun/jvm/hotspot/oops/InstanceKlass;)V
end local 5 end local 4 13: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "</node>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
14: aload 2
ifnull 42
15: aload 2
invokevirtual sun.jvm.hotspot.oops.Klass.getSuper:()Lsun/jvm/hotspot/oops/Klass;
astore 4
start local 4 16: aload 4
ifnonnull 18
17: aconst_null
goto 19
StackMap locals: sun.jvm.hotspot.oops.Klass
StackMap stack:
18: aload 4
invokevirtual sun.jvm.hotspot.oops.Klass.getJavaMirror:()Lsun/jvm/hotspot/oops/Instance;
19: StackMap locals:
StackMap stack: sun.jvm.hotspot.oops.Instance
astore 5
start local 5 20: aload 0
aload 1
aload 5
ldc "extends"
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeEdge:(Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/Oop;Ljava/lang/String;)V
21: iload 3
ifeq 42
22: aload 2
checkcast sun.jvm.hotspot.oops.InstanceKlass
astore 6
start local 6 23: aload 6
invokevirtual sun.jvm.hotspot.oops.InstanceKlass.getLocalInterfaces:()Lsun/jvm/hotspot/utilities/KlassArray;
astore 7
start local 7 24: aload 7
invokevirtual sun.jvm.hotspot.utilities.KlassArray.length:()I
istore 8
start local 8 25: iconst_0
istore 9
start local 9 26: goto 30
27: StackMap locals: sun.jvm.hotspot.utilities.HeapGXLWriter sun.jvm.hotspot.oops.Instance sun.jvm.hotspot.oops.Klass int sun.jvm.hotspot.oops.Klass sun.jvm.hotspot.oops.Oop sun.jvm.hotspot.oops.InstanceKlass sun.jvm.hotspot.utilities.KlassArray int int
StackMap stack:
aload 7
iload 9
invokevirtual sun.jvm.hotspot.utilities.KlassArray.getAt:(I)Lsun/jvm/hotspot/oops/Klass;
astore 10
start local 10 28: aload 0
aload 1
aload 10
invokevirtual sun.jvm.hotspot.oops.Klass.getJavaMirror:()Lsun/jvm/hotspot/oops/Instance;
ldc "implements"
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeEdge:(Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/Oop;Ljava/lang/String;)V
end local 10 29: iinc 9 1
StackMap locals:
StackMap stack:
30: iload 9
iload 8
if_icmplt 27
end local 9 31: aload 6
invokevirtual sun.jvm.hotspot.oops.InstanceKlass.getClassLoader:()Lsun/jvm/hotspot/oops/Oop;
astore 9
start local 9 32: aload 0
aload 1
aload 9
ldc "loaded-by"
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeEdge:(Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/Oop;Ljava/lang/String;)V
33: aload 0
aload 1
aconst_null
ldc "signed-by"
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeEdge:(Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/Oop;Ljava/lang/String;)V
34: aload 0
aload 1
aconst_null
ldc "protection-domain"
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeEdge:(Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/Oop;Ljava/lang/String;)V
35: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.refFields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
start local 10 36: goto 41
37: StackMap locals: sun.jvm.hotspot.utilities.HeapGXLWriter sun.jvm.hotspot.oops.Instance sun.jvm.hotspot.oops.Klass int sun.jvm.hotspot.oops.Klass sun.jvm.hotspot.oops.Oop sun.jvm.hotspot.oops.InstanceKlass sun.jvm.hotspot.utilities.KlassArray int sun.jvm.hotspot.oops.Oop java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvm.hotspot.oops.OopField
astore 11
start local 11 38: aload 11
aload 2
invokevirtual sun.jvm.hotspot.oops.OopField.getValue:(Lsun/jvm/hotspot/runtime/VMObject;)Lsun/jvm/hotspot/oops/Oop;
astore 12
start local 12 39: aload 11
invokevirtual sun.jvm.hotspot.oops.OopField.getID:()Lsun/jvm/hotspot/oops/FieldIdentifier;
invokevirtual sun.jvm.hotspot.oops.FieldIdentifier.getName:()Ljava/lang/String;
astore 13
start local 13 40: aload 0
aload 1
aload 12
aload 13
invokestatic sun.jvm.hotspot.utilities.HeapGXLWriter.identifierToXMLName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeEdge:(Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/Oop;Ljava/lang/String;)V
end local 13 end local 12 end local 11 41: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 37
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 42: StackMap locals: sun.jvm.hotspot.utilities.HeapGXLWriter sun.jvm.hotspot.oops.Instance sun.jvm.hotspot.oops.Klass int
StackMap stack:
aload 0
aconst_null
putfield sun.jvm.hotspot.utilities.HeapGXLWriter.refFields:Ljava/util/List;
43: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 44 1 instance Lsun/jvm/hotspot/oops/Instance;
2 44 2 reflectedType Lsun/jvm/hotspot/oops/Klass;
3 44 3 isInstanceKlass Z
5 13 4 name Lsun/jvm/hotspot/oops/Symbol;
9 13 5 sizeInBytes J
16 42 4 superType Lsun/jvm/hotspot/oops/Klass;
20 42 5 superMirror Lsun/jvm/hotspot/oops/Oop;
23 42 6 ik Lsun/jvm/hotspot/oops/InstanceKlass;
24 42 7 interfaces Lsun/jvm/hotspot/utilities/KlassArray;
25 42 8 len I
26 31 9 i I
28 29 10 k Lsun/jvm/hotspot/oops/Klass;
32 42 9 loader Lsun/jvm/hotspot/oops/Oop;
36 42 10 itr Ljava/util/Iterator;
38 41 11 field Lsun/jvm/hotspot/oops/OopField;
39 41 12 ref Lsun/jvm/hotspot/oops/Oop;
40 41 13 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
instance
protected void writeReferenceField(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.OopField);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/OopField;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.refFields:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 2 1 oop Lsun/jvm/hotspot/oops/Oop;
0 2 2 field Lsun/jvm/hotspot/oops/OopField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
field
protected void writeByteField(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.ByteField);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/ByteField;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
ldc "int"
ldc "B"
aload 2
aload 1
invokevirtual sun.jvm.hotspot.oops.ByteField.getValue:(Lsun/jvm/hotspot/oops/Oop;)B
invokestatic java.lang.Byte.toString:(B)Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeField:(Lsun/jvm/hotspot/oops/Field;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 2 1 oop Lsun/jvm/hotspot/oops/Oop;
0 2 2 field Lsun/jvm/hotspot/oops/ByteField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
field
protected void writeCharField(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.CharField);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/CharField;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
ldc "string"
ldc "C"
1: aload 2
aload 1
invokevirtual sun.jvm.hotspot.oops.CharField.getValue:(Lsun/jvm/hotspot/oops/Oop;)C
invokestatic java.lang.Character.toString:(C)Ljava/lang/String;
invokestatic sun.jvm.hotspot.utilities.HeapGXLWriter.escapeXMLChars:(Ljava/lang/String;)Ljava/lang/String;
2: invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeField:(Lsun/jvm/hotspot/oops/Field;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 4 1 oop Lsun/jvm/hotspot/oops/Oop;
0 4 2 field Lsun/jvm/hotspot/oops/CharField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
field
protected void writeBooleanField(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.BooleanField);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/BooleanField;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
ldc "bool"
ldc "Z"
aload 2
aload 1
invokevirtual sun.jvm.hotspot.oops.BooleanField.getValue:(Lsun/jvm/hotspot/oops/Oop;)Z
invokestatic java.lang.Boolean.toString:(Z)Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeField:(Lsun/jvm/hotspot/oops/Field;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 2 1 oop Lsun/jvm/hotspot/oops/Oop;
0 2 2 field Lsun/jvm/hotspot/oops/BooleanField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
field
protected void writeShortField(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.ShortField);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/ShortField;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
ldc "int"
ldc "S"
aload 2
aload 1
invokevirtual sun.jvm.hotspot.oops.ShortField.getValue:(Lsun/jvm/hotspot/oops/Oop;)S
invokestatic java.lang.Short.toString:(S)Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeField:(Lsun/jvm/hotspot/oops/Field;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 2 1 oop Lsun/jvm/hotspot/oops/Oop;
0 2 2 field Lsun/jvm/hotspot/oops/ShortField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
field
protected void writeIntField(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.IntField);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/IntField;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
ldc "int"
ldc "I"
aload 2
aload 1
invokevirtual sun.jvm.hotspot.oops.IntField.getValue:(Lsun/jvm/hotspot/oops/Oop;)I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeField:(Lsun/jvm/hotspot/oops/Field;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 2 1 oop Lsun/jvm/hotspot/oops/Oop;
0 2 2 field Lsun/jvm/hotspot/oops/IntField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
field
protected void writeLongField(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.LongField);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/LongField;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
ldc "int"
ldc "J"
aload 2
aload 1
invokevirtual sun.jvm.hotspot.oops.LongField.getValue:(Lsun/jvm/hotspot/oops/Oop;)J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeField:(Lsun/jvm/hotspot/oops/Field;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 2 1 oop Lsun/jvm/hotspot/oops/Oop;
0 2 2 field Lsun/jvm/hotspot/oops/LongField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
field
protected void writeFloatField(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.FloatField);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/FloatField;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
ldc "float"
ldc "F"
aload 2
aload 1
invokevirtual sun.jvm.hotspot.oops.FloatField.getValue:(Lsun/jvm/hotspot/oops/Oop;)F
invokestatic java.lang.Float.toString:(F)Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeField:(Lsun/jvm/hotspot/oops/Field;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 2 1 oop Lsun/jvm/hotspot/oops/Oop;
0 2 2 field Lsun/jvm/hotspot/oops/FloatField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
field
protected void writeDoubleField(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.DoubleField);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/DoubleField;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
ldc "float"
ldc "D"
aload 2
aload 1
invokevirtual sun.jvm.hotspot.oops.DoubleField.getValue:(Lsun/jvm/hotspot/oops/Oop;)D
invokestatic java.lang.Double.toString:(D)Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeField:(Lsun/jvm/hotspot/oops/Field;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 2 1 oop Lsun/jvm/hotspot/oops/Oop;
0 2 2 field Lsun/jvm/hotspot/oops/DoubleField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oop
field
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "</graph>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "</gxl>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
Exceptions:
throws java.io.IOException
private static java.lang.String identifierToXMLName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 36
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private static java.lang.String escapeXMLChars(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 33
5: StackMap locals: java.lang.String java.lang.StringBuffer int int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 6: aconst_null
astore 6
start local 6 7: iload 5
bipush 38
if_icmpne 10
8: ldc "&"
astore 6
9: goto 27
StackMap locals: int java.lang.String
StackMap stack:
10: iload 5
bipush 60
if_icmpne 13
11: ldc "<"
astore 6
12: goto 27
StackMap locals:
StackMap stack:
13: iload 5
bipush 62
if_icmpne 16
14: ldc ">"
astore 6
15: goto 27
StackMap locals:
StackMap stack:
16: iload 5
bipush 34
if_icmpne 19
17: ldc """
astore 6
18: goto 27
StackMap locals:
StackMap stack:
19: iload 5
bipush 39
if_icmpne 22
20: ldc "'"
astore 6
21: goto 27
StackMap locals:
StackMap stack:
22: iload 5
bipush 32
if_icmplt 24
iload 5
ldc 55295
if_icmple 23
iload 5
ldc 57344
if_icmplt 24
23: StackMap locals:
StackMap stack:
iload 5
ldc 65534
if_icmpeq 24
iload 5
ldc 65535
if_icmpne 27
24: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "<![CDATA[&#x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
25: iload 5
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ";]]>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
27: StackMap locals:
StackMap stack:
aload 6
ifnull 32
28: aload 1
ifnonnull 30
29: new java.lang.StringBuffer
dup
aload 0
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 1
30: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 4
iadd
iload 2
iload 4
iadd
iconst_1
iadd
aload 6
invokevirtual java.lang.StringBuffer.replace:(IILjava/lang/String;)Ljava/lang/StringBuffer;
pop
31: iload 4
aload 6
invokevirtual java.lang.String.length:()I
iconst_1
isub
iadd
istore 4
end local 6 end local 5 32: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
33: iload 2
iload 3
if_icmplt 5
end local 4 end local 3 end local 2 34: aload 1
ifnonnull 36
35: aload 0
areturn
36: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 s Ljava/lang/String;
1 37 1 result Ljava/lang/StringBuffer;
2 34 2 i I
3 34 3 max I
4 34 4 delta I
6 32 5 c C
7 32 6 replacement Ljava/lang/String;
MethodParameters:
Name Flags
s
private static java.lang.String getID(sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "ID_NULL"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "ID_"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.jvm.hotspot.oops.Oop.getHandle:()Lsun/jvm/hotspot/debugger/OopHandle;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 oop Lsun/jvm/hotspot/oops/Oop;
MethodParameters:
Name Flags
oop
private void writeArrayLength(sun.jvm.hotspot.oops.Array);
descriptor: (Lsun/jvm/hotspot/oops/Array;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "length"
ldc "int"
1: aload 1
invokevirtual sun.jvm.hotspot.oops.Array.getLength:()J
l2i
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
2: invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 4 1 array Lsun/jvm/hotspot/oops/Array;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
array
private void writeAttribute(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "\t<attr name='"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
1: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 1
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
2: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "'><"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
3: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 2
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
4: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
bipush 62
invokevirtual java.io.PrintWriter.print:(C)V
5: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 3
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
6: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "</"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
7: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 2
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
8: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "></attr>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 10 1 name Ljava/lang/String;
0 10 2 type Ljava/lang/String;
0 10 3 value Ljava/lang/String;
MethodParameters:
Name Flags
name
type
value
private void writeEdge(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.Oop, java.lang.String);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/Oop;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "<edge from='"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
1: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 1
invokestatic sun.jvm.hotspot.utilities.HeapGXLWriter.getID:(Lsun/jvm/hotspot/oops/Oop;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
2: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "' to='"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
3: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 2
invokestatic sun.jvm.hotspot.utilities.HeapGXLWriter.getID:(Lsun/jvm/hotspot/oops/Oop;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
4: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "'>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
5: aload 0
ldc "name"
ldc "string"
aload 3
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
6: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "</edge>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 8 1 from Lsun/jvm/hotspot/oops/Oop;
0 8 2 to Lsun/jvm/hotspot/oops/Oop;
0 8 3 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from
to
name
private void writeField(sun.jvm.hotspot.oops.Field, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lsun/jvm/hotspot/oops/Field;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.isArray:Z
ifeq 3
1: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
bipush 9
invokevirtual java.io.PrintWriter.print:(C)V
2: goto 9
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "\t<attr name='"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
4: aload 1
invokevirtual sun.jvm.hotspot.oops.Field.getID:()Lsun/jvm/hotspot/oops/FieldIdentifier;
invokevirtual sun.jvm.hotspot.oops.FieldIdentifier.getName:()Ljava/lang/String;
astore 5
start local 5 5: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 5
invokestatic sun.jvm.hotspot.utilities.HeapGXLWriter.identifierToXMLName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
6: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "' kind='"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
7: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 3
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
8: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "'>"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
end local 5 9: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
bipush 60
invokevirtual java.io.PrintWriter.print:(C)V
10: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 2
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
11: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
bipush 62
invokevirtual java.io.PrintWriter.print:(C)V
12: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 4
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
13: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "</"
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
14: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
aload 2
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
15: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
bipush 62
invokevirtual java.io.PrintWriter.print:(C)V
16: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.isArray:Z
ifeq 19
17: aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.println:()V
18: goto 20
19: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.HeapGXLWriter.out:Ljava/io/PrintWriter;
ldc "</attr>"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
0 21 1 field Lsun/jvm/hotspot/oops/Field;
0 21 2 type Ljava/lang/String;
0 21 3 kind Ljava/lang/String;
0 21 4 value Ljava/lang/String;
5 9 5 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
field
type
kind
value
private void writeVMInfo();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
astore 1
start local 1 1: aload 0
ldc "vm-version"
ldc "string"
aload 1
invokevirtual sun.jvm.hotspot.runtime.VM.getVMRelease:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
2: aload 0
ldc "vm-type"
ldc "string"
3: aload 1
invokevirtual sun.jvm.hotspot.runtime.VM.isClientCompiler:()Z
ifeq 4
ldc "client"
goto 6
4: StackMap locals: sun.jvm.hotspot.utilities.HeapGXLWriter sun.jvm.hotspot.runtime.VM
StackMap stack: sun.jvm.hotspot.utilities.HeapGXLWriter java.lang.String java.lang.String
aload 1
invokevirtual sun.jvm.hotspot.runtime.VM.isServerCompiler:()Z
ifeq 5
ldc "server"
goto 6
StackMap locals: sun.jvm.hotspot.utilities.HeapGXLWriter sun.jvm.hotspot.runtime.VM
StackMap stack: sun.jvm.hotspot.utilities.HeapGXLWriter java.lang.String java.lang.String
5: ldc "core"
6: StackMap locals: sun.jvm.hotspot.utilities.HeapGXLWriter sun.jvm.hotspot.runtime.VM
StackMap stack: sun.jvm.hotspot.utilities.HeapGXLWriter java.lang.String java.lang.String java.lang.String
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
7: aload 0
ldc "os"
ldc "string"
aload 1
invokevirtual sun.jvm.hotspot.runtime.VM.getOS:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
ldc "cpu"
ldc "string"
aload 1
invokevirtual sun.jvm.hotspot.runtime.VM.getCPU:()Ljava/lang/String;
invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
9: aload 0
ldc "pointer-size"
ldc "string"
10: aload 1
invokevirtual sun.jvm.hotspot.runtime.VM.getOopSize:()J
l2i
bipush 8
imul
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
11: invokevirtual sun.jvm.hotspot.utilities.HeapGXLWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/jvm/hotspot/utilities/HeapGXLWriter;
1 13 1 vm Lsun/jvm/hotspot/runtime/VM;
Exceptions:
throws java.io.IOException
}
SourceFile: "HeapGXLWriter.java"