class sun.jvm.hotspot.HSDB$33$1 implements sun.jvm.hotspot.runtime.AddressVisitor
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.jvm.hotspot.HSDB$33$1
super_class: java.lang.Object
{
final sun.jvm.hotspot.HSDB$33 this$1;
descriptor: Lsun/jvm/hotspot/HSDB$33;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final long val$addressSize;
descriptor: J
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.jvm.hotspot.HSDB$33, long);
descriptor: (Lsun/jvm/hotspot/HSDB$33;J)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 0: aload 0
aload 1
putfield sun.jvm.hotspot.HSDB$33$1.this$1:Lsun/jvm/hotspot/HSDB$33;
aload 0
lload 2
putfield sun.jvm.hotspot.HSDB$33$1.val$addressSize:J
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/HSDB$33$1;
MethodParameters:
Name Flags
this$0 final
val$addressSize final
public void visitAddress(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.jvm.hotspot.utilities.Assert.ASSERTS_ENABLED:Z
ifeq 5
1: aload 1
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getAddressSize:()J
lconst_1
lsub
invokeinterface sun.jvm.hotspot.debugger.Address.andWithMask:(J)Lsun/jvm/hotspot/debugger/Address;
ifnonnull 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
3: StackMap locals:
StackMap stack: int
new java.lang.StringBuilder
dup
ldc "Address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "should have been aligned"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokestatic sun.jvm.hotspot.utilities.Assert.that:(ZLjava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 1
lconst_0
invokeinterface sun.jvm.hotspot.debugger.Address.getOopHandleAt:(J)Lsun/jvm/hotspot/debugger/OopHandle;
astore 2
start local 2 6: aload 0
aload 1
aload 2
invokevirtual sun.jvm.hotspot.HSDB$33$1.addAnnotation:(Lsun/jvm/hotspot/debugger/Address;Lsun/jvm/hotspot/debugger/OopHandle;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/HSDB$33$1;
0 8 1 addr Lsun/jvm/hotspot/debugger/Address;
6 8 2 handle Lsun/jvm/hotspot/debugger/OopHandle;
MethodParameters:
Name Flags
addr
public void visitCompOopAddress(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.jvm.hotspot.utilities.Assert.ASSERTS_ENABLED:Z
ifeq 5
1: aload 1
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getAddressSize:()J
lconst_1
lsub
invokeinterface sun.jvm.hotspot.debugger.Address.andWithMask:(J)Lsun/jvm/hotspot/debugger/Address;
ifnonnull 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
3: StackMap locals:
StackMap stack: int
new java.lang.StringBuilder
dup
ldc "Address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "should have been aligned"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokestatic sun.jvm.hotspot.utilities.Assert.that:(ZLjava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 1
lconst_0
invokeinterface sun.jvm.hotspot.debugger.Address.getCompOopHandleAt:(J)Lsun/jvm/hotspot/debugger/OopHandle;
astore 2
start local 2 6: aload 0
aload 1
aload 2
invokevirtual sun.jvm.hotspot.HSDB$33$1.addAnnotation:(Lsun/jvm/hotspot/debugger/Address;Lsun/jvm/hotspot/debugger/OopHandle;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/HSDB$33$1;
0 8 1 addr Lsun/jvm/hotspot/debugger/Address;
6 8 2 handle Lsun/jvm/hotspot/debugger/OopHandle;
MethodParameters:
Name Flags
addr
public void addAnnotation(sun.jvm.hotspot.debugger.Address, sun.jvm.hotspot.debugger.OopHandle);
descriptor: (Lsun/jvm/hotspot/debugger/Address;Lsun/jvm/hotspot/debugger/OopHandle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: ldc "null oop"
astore 3
start local 3 1: aload 2
ifnull 84
2: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getUniverse:()Lsun/jvm/hotspot/memory/Universe;
invokevirtual sun.jvm.hotspot.memory.Universe.heap:()Lsun/jvm/hotspot/gc/shared/CollectedHeap;
astore 4
start local 4 3: iconst_1
istore 5
start local 5 4: ldc "BAD OOP"
astore 3
5: aload 4
instanceof sun.jvm.hotspot.gc.shared.GenCollectedHeap
ifeq 22
6: aload 4
checkcast sun.jvm.hotspot.gc.shared.GenCollectedHeap
astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 20
9: StackMap locals: sun.jvm.hotspot.HSDB$33$1 sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.debugger.OopHandle java.lang.String sun.jvm.hotspot.gc.shared.CollectedHeap int sun.jvm.hotspot.gc.shared.GenCollectedHeap int
StackMap stack:
aload 6
iload 7
invokevirtual sun.jvm.hotspot.gc.shared.GenCollectedHeap.getGen:(I)Lsun/jvm/hotspot/gc/shared/Generation;
aload 2
invokevirtual sun.jvm.hotspot.gc.shared.Generation.isIn:(Lsun/jvm/hotspot/debugger/Address;)Z
ifeq 19
10: iload 7
ifne 13
11: ldc "NewGen "
astore 3
12: goto 17
StackMap locals:
StackMap stack:
13: iload 7
iconst_1
if_icmpne 16
14: ldc "OldGen "
astore 3
15: goto 17
16: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Gen "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
17: StackMap locals:
StackMap stack:
iconst_0
istore 5
18: goto 71
19: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
20: iload 7
aload 6
invokevirtual sun.jvm.hotspot.gc.shared.GenCollectedHeap.nGens:()I
if_icmplt 9
end local 7 end local 6 21: goto 71
StackMap locals:
StackMap stack:
22: aload 4
instanceof sun.jvm.hotspot.gc.g1.G1CollectedHeap
ifeq 45
23: aload 4
checkcast sun.jvm.hotspot.gc.g1.G1CollectedHeap
astore 6
start local 6 24: aload 6
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.hrm:()Lsun/jvm/hotspot/gc/g1/HeapRegionManager;
aload 2
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionManager.getByAddress:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/gc/g1/HeapRegion;
astore 7
start local 7 25: aload 7
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.isFree:()Z
ifeq 29
26: ldc "Free "
astore 3
27: iconst_0
istore 5
28: goto 71
StackMap locals: sun.jvm.hotspot.gc.g1.G1CollectedHeap sun.jvm.hotspot.gc.g1.HeapRegion
StackMap stack:
29: aload 7
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.isYoung:()Z
ifeq 33
30: ldc "Young "
astore 3
31: iconst_0
istore 5
32: goto 71
StackMap locals:
StackMap stack:
33: aload 7
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.isHumongous:()Z
ifeq 37
34: ldc "Humongous "
astore 3
35: iconst_0
istore 5
36: goto 71
StackMap locals:
StackMap stack:
37: aload 7
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.isPinned:()Z
ifeq 41
38: ldc "Pinned "
astore 3
39: iconst_0
istore 5
40: goto 71
StackMap locals:
StackMap stack:
41: aload 7
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.isOld:()Z
ifeq 71
42: ldc "Old "
astore 3
43: iconst_0
istore 5
end local 7 end local 6 44: goto 71
StackMap locals:
StackMap stack:
45: aload 4
instanceof sun.jvm.hotspot.gc.parallel.ParallelScavengeHeap
ifeq 55
46: aload 4
checkcast sun.jvm.hotspot.gc.parallel.ParallelScavengeHeap
astore 6
start local 6 47: aload 6
invokevirtual sun.jvm.hotspot.gc.parallel.ParallelScavengeHeap.youngGen:()Lsun/jvm/hotspot/gc/parallel/PSYoungGen;
aload 2
invokevirtual sun.jvm.hotspot.gc.parallel.PSYoungGen.isIn:(Lsun/jvm/hotspot/debugger/Address;)Z
ifeq 51
48: ldc "PSYoungGen "
astore 3
49: iconst_0
istore 5
50: goto 71
StackMap locals: sun.jvm.hotspot.gc.parallel.ParallelScavengeHeap
StackMap stack:
51: aload 6
invokevirtual sun.jvm.hotspot.gc.parallel.ParallelScavengeHeap.oldGen:()Lsun/jvm/hotspot/gc/parallel/PSOldGen;
aload 2
invokevirtual sun.jvm.hotspot.gc.parallel.PSOldGen.isIn:(Lsun/jvm/hotspot/debugger/Address;)Z
ifeq 71
52: ldc "PSOldGen "
astore 3
53: iconst_0
istore 5
end local 6 54: goto 71
StackMap locals:
StackMap stack:
55: aload 4
instanceof sun.jvm.hotspot.gc.epsilon.EpsilonHeap
ifeq 59
56: ldc "Epsilon "
astore 3
57: iconst_0
istore 5
58: goto 71
StackMap locals:
StackMap stack:
59: aload 4
instanceof sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap
ifeq 64
60: aload 4
checkcast sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap
pop
61: ldc "ShenandoahHeap "
astore 3
62: iconst_0
istore 5
63: goto 71
StackMap locals:
StackMap stack:
64: aload 4
instanceof sun.jvm.hotspot.gc.z.ZCollectedHeap
ifeq 69
65: aload 4
checkcast sun.jvm.hotspot.gc.z.ZCollectedHeap
pop
66: ldc "ZHeap "
astore 3
67: iconst_0
istore 5
68: goto 71
69: StackMap locals:
StackMap stack:
ldc "[Unknown generation] "
astore 3
70: iconst_0
istore 5
71: StackMap locals:
StackMap stack:
iload 5
ifne 84
72: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getObjectHeap:()Lsun/jvm/hotspot/oops/ObjectHeap;
aload 2
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.newOop:(Lsun/jvm/hotspot/debugger/OopHandle;)Lsun/jvm/hotspot/oops/Oop;
astore 6
start local 6 73: aload 6
instanceof sun.jvm.hotspot.oops.Instance
ifeq 76
74: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual sun.jvm.hotspot.oops.Oop.getKlass:()Lsun/jvm/hotspot/oops/Klass;
invokevirtual sun.jvm.hotspot.oops.Klass.getName:()Lsun/jvm/hotspot/oops/Symbol;
invokevirtual sun.jvm.hotspot.oops.Symbol.asString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
75: goto 84
76: StackMap locals: sun.jvm.hotspot.oops.Oop
StackMap stack:
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 7
start local 7 77: aload 6
new java.io.PrintStream
dup
aload 7
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
invokestatic sun.jvm.hotspot.oops.Oop.printOopValueOn:(Lsun/jvm/hotspot/oops/Oop;Ljava/io/PrintStream;)V
78: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.io.ByteArrayOutputStream.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 7 end local 6 79: goto 84
80: StackMap locals: sun.jvm.hotspot.HSDB$33$1 sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.debugger.OopHandle java.lang.String sun.jvm.hotspot.gc.shared.CollectedHeap int
StackMap stack: sun.jvm.hotspot.debugger.AddressException
pop
81: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "CORRUPT OOP"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
goto 84
82: StackMap locals:
StackMap stack: java.lang.NullPointerException
pop
83: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "CORRUPT OOP (null pointer)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 5 end local 4 84: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.HSDB$33$1.this$1:Lsun/jvm/hotspot/HSDB$33;
getfield sun.jvm.hotspot.HSDB$33.annoPanel:Lsun/jvm/hotspot/ui/AnnotatedMemoryPanel;
new sun.jvm.hotspot.ui.Annotation
dup
aload 1
aload 1
aload 0
getfield sun.jvm.hotspot.HSDB$33$1.val$addressSize:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
aload 3
invokespecial sun.jvm.hotspot.ui.Annotation.<init>:(Lsun/jvm/hotspot/debugger/Address;Lsun/jvm/hotspot/debugger/Address;Ljava/lang/String;)V
invokevirtual sun.jvm.hotspot.ui.AnnotatedMemoryPanel.addAnnotation:(Lsun/jvm/hotspot/ui/Annotation;)V
85: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 86 0 this Lsun/jvm/hotspot/HSDB$33$1;
0 86 1 addr Lsun/jvm/hotspot/debugger/Address;
0 86 2 handle Lsun/jvm/hotspot/debugger/OopHandle;
1 86 3 anno Ljava/lang/String;
3 84 4 collHeap Lsun/jvm/hotspot/gc/shared/CollectedHeap;
4 84 5 bad Z
7 21 6 heap Lsun/jvm/hotspot/gc/shared/GenCollectedHeap;
8 21 7 i I
24 44 6 heap Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
25 44 7 region Lsun/jvm/hotspot/gc/g1/HeapRegion;
47 54 6 heap Lsun/jvm/hotspot/gc/parallel/ParallelScavengeHeap;
73 79 6 oop Lsun/jvm/hotspot/oops/Oop;
77 79 7 bos Ljava/io/ByteArrayOutputStream;
Exception table:
from to target type
72 79 80 Class sun.jvm.hotspot.debugger.AddressException
72 79 82 Class java.lang.NullPointerException
MethodParameters:
Name Flags
addr
handle
}
SourceFile: "HSDB.java"
EnclosingMethod: sun.jvm.hotspot.HSDB$33.run:()V
NestHost: sun.jvm.hotspot.HSDB
InnerClasses:
sun.jvm.hotspot.HSDB$33
sun.jvm.hotspot.HSDB$33$1