public class sun.jvm.hotspot.utilities.LivenessAnalysis
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.utilities.LivenessAnalysis
super_class: java.lang.Object
{
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: 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/utilities/LivenessAnalysis;
public static sun.jvm.hotspot.utilities.LivenessPathList computeAllLivenessPaths(sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;)Lsun/jvm/hotspot/utilities/LivenessPathList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic sun.jvm.hotspot.utilities.LivenessAnalysis.computeAllLivenessPaths:(Lsun/jvm/hotspot/oops/Oop;Z)Lsun/jvm/hotspot/utilities/LivenessPathList;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual sun.jvm.hotspot.utilities.LivenessPathList.size:()I
ifne 3
2: StackMap locals: sun.jvm.hotspot.utilities.LivenessPathList
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 target Lsun/jvm/hotspot/oops/Oop;
1 4 1 list Lsun/jvm/hotspot/utilities/LivenessPathList;
MethodParameters:
Name Flags
target
private static sun.jvm.hotspot.utilities.LivenessPathList computeAllLivenessPaths(sun.jvm.hotspot.oops.Oop, boolean);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Z)Lsun/jvm/hotspot/utilities/LivenessPathList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=15, args_size=2
start local 0 start local 1 0: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getRevPtrs:()Lsun/jvm/hotspot/utilities/ReversePtrs;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.RuntimeException
dup
ldc "LivenessAnalysis requires ReversePtrs to have been computed"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.jvm.hotspot.utilities.ReversePtrs
StackMap stack:
aload 2
aload 0
invokevirtual sun.jvm.hotspot.utilities.ReversePtrs.get:(Lsun/jvm/hotspot/oops/Oop;)Ljava/util/ArrayList;
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 6: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
7: astore 4
start local 4 8: aload 3
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: new sun.jvm.hotspot.utilities.LivenessPathList
dup
invokespecial sun.jvm.hotspot.utilities.LivenessPathList.<init>:()V
astore 5
start local 5 10: new sun.jvm.hotspot.utilities.LivenessPath
dup
invokespecial sun.jvm.hotspot.utilities.LivenessPath.<init>:()V
astore 6
start local 6 11: aload 6
new sun.jvm.hotspot.utilities.LivenessPathElement
dup
aload 0
aconst_null
invokespecial sun.jvm.hotspot.utilities.LivenessPathElement.<init>:(Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/FieldIdentifier;)V
invokevirtual sun.jvm.hotspot.utilities.LivenessPath.push:(Lsun/jvm/hotspot/utilities/LivenessPathElement;)V
12: aload 5
aload 6
invokevirtual sun.jvm.hotspot.utilities.LivenessPathList.add:(Lsun/jvm/hotspot/utilities/LivenessPath;)V
end local 6 13: StackMap locals: java.util.Set java.util.Map sun.jvm.hotspot.utilities.LivenessPathList
StackMap stack:
aconst_null
astore 6
start local 6 14: aload 5
invokevirtual sun.jvm.hotspot.utilities.LivenessPathList.size:()I
iconst_1
isub
istore 7
start local 7 15: goto 21
16: StackMap locals: sun.jvm.hotspot.utilities.LivenessPath int
StackMap stack:
aload 5
iload 7
invokevirtual sun.jvm.hotspot.utilities.LivenessPathList.get:(I)Lsun/jvm/hotspot/utilities/LivenessPath;
astore 8
start local 8 17: aload 8
invokevirtual sun.jvm.hotspot.utilities.LivenessPath.isComplete:()Z
ifne 20
18: aload 8
astore 6
19: goto 22
end local 8 20: StackMap locals:
StackMap stack:
iinc 7 -1
StackMap locals:
StackMap stack:
21: iload 7
ifge 16
end local 7 22: StackMap locals:
StackMap stack:
aload 6
ifnonnull 24
23: aload 5
areturn
24: StackMap locals:
StackMap stack:
aload 5
aload 6
invokevirtual sun.jvm.hotspot.utilities.LivenessPathList.remove:(Lsun/jvm/hotspot/utilities/LivenessPath;)V
25: aload 2
aload 6
invokevirtual sun.jvm.hotspot.utilities.LivenessPath.peek:()Lsun/jvm/hotspot/utilities/LivenessPathElement;
invokevirtual sun.jvm.hotspot.utilities.LivenessPathElement.getObj:()Lsun/jvm/hotspot/oops/Oop;
invokevirtual sun.jvm.hotspot.utilities.ReversePtrs.get:(Lsun/jvm/hotspot/oops/Oop;)Ljava/util/ArrayList;
26: astore 7
start local 7 27: aload 7
ifnull 13
28: aload 7
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 8
start local 8 29: goto 56
30: StackMap locals: java.util.ArrayList java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvm.hotspot.utilities.LivenessPathElement
astore 9
start local 9 31: aload 9
invokevirtual sun.jvm.hotspot.utilities.LivenessPathElement.isRoot:()Z
ifeq 32
aload 4
aload 9
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 33
32: StackMap locals: sun.jvm.hotspot.utilities.LivenessPathElement
StackMap stack:
aload 9
invokevirtual sun.jvm.hotspot.utilities.LivenessPathElement.isRoot:()Z
ifne 56
aload 3
aload 9
invokevirtual sun.jvm.hotspot.utilities.LivenessPathElement.getObj:()Lsun/jvm/hotspot/oops/Oop;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 56
33: StackMap locals:
StackMap stack:
aload 9
invokevirtual sun.jvm.hotspot.utilities.LivenessPathElement.isRoot:()Z
ifeq 36
34: aload 4
aload 9
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
35: goto 37
36: StackMap locals:
StackMap stack:
aload 3
aload 9
invokevirtual sun.jvm.hotspot.utilities.LivenessPathElement.getObj:()Lsun/jvm/hotspot/oops/Oop;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
37: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.jvm.hotspot.utilities.LivenessPath.copy:()Lsun/jvm/hotspot/utilities/LivenessPath;
astore 10
start local 10 38: aload 10
aload 9
invokevirtual sun.jvm.hotspot.utilities.LivenessPath.push:(Lsun/jvm/hotspot/utilities/LivenessPathElement;)V
39: aload 5
aload 6
invokevirtual sun.jvm.hotspot.utilities.LivenessPathList.add:(Lsun/jvm/hotspot/utilities/LivenessPath;)V
40: aload 5
aload 10
invokevirtual sun.jvm.hotspot.utilities.LivenessPathList.add:(Lsun/jvm/hotspot/utilities/LivenessPath;)V
41: iload 1
ifeq 13
aload 9
invokevirtual sun.jvm.hotspot.utilities.LivenessPathElement.isRoot:()Z
ifeq 13
42: iconst_1
istore 11
start local 11 43: goto 54
44: StackMap locals: sun.jvm.hotspot.utilities.LivenessPath int
StackMap stack:
aload 10
iload 11
invokevirtual sun.jvm.hotspot.utilities.LivenessPath.get:(I)Lsun/jvm/hotspot/utilities/LivenessPathElement;
astore 12
start local 12 45: iconst_0
istore 13
start local 13 46: goto 52
47: StackMap locals: sun.jvm.hotspot.utilities.LivenessPathElement int
StackMap stack:
aload 5
iload 13
invokevirtual sun.jvm.hotspot.utilities.LivenessPathList.get:(I)Lsun/jvm/hotspot/utilities/LivenessPath;
astore 14
start local 14 48: aload 14
invokevirtual sun.jvm.hotspot.utilities.LivenessPath.peek:()Lsun/jvm/hotspot/utilities/LivenessPathElement;
aload 12
if_acmpne 51
49: aload 5
aload 14
invokevirtual sun.jvm.hotspot.utilities.LivenessPathList.remove:(Lsun/jvm/hotspot/utilities/LivenessPath;)V
50: goto 52
51: StackMap locals: sun.jvm.hotspot.utilities.LivenessPath
StackMap stack:
iinc 13 1
end local 14 52: StackMap locals:
StackMap stack:
iload 13
aload 5
invokevirtual sun.jvm.hotspot.utilities.LivenessPathList.size:()I
if_icmplt 47
end local 13 end local 12 53: iinc 11 1
StackMap locals:
StackMap stack:
54: iload 11
aload 10
invokevirtual sun.jvm.hotspot.utilities.LivenessPath.size:()I
iconst_1
isub
if_icmplt 44
end local 11 55: goto 13
end local 10 end local 9 56: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 30
end local 8 end local 7 57: goto 13
StackMap locals: sun.jvm.hotspot.oops.Oop int sun.jvm.hotspot.utilities.ReversePtrs java.util.Set java.util.Map sun.jvm.hotspot.utilities.LivenessPathList sun.jvm.hotspot.utilities.LivenessPath
StackMap stack: java.lang.Exception
58: astore 7
start local 7 59: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "LivenessAnalysis: WARNING: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
60: ldc " during traversal"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
61: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 end local 6 62: goto 13
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 63 0 target Lsun/jvm/hotspot/oops/Oop;
0 63 1 trimPathsThroughPopularObjects Z
1 63 2 rev Lsun/jvm/hotspot/utilities/ReversePtrs;
6 63 3 visitedOops Ljava/util/Set<Lsun/jvm/hotspot/oops/Oop;>;
8 63 4 visitedRoots Ljava/util/Map<Lsun/jvm/hotspot/utilities/LivenessPathElement;Lsun/jvm/hotspot/utilities/LivenessPathElement;>;
10 63 5 list Lsun/jvm/hotspot/utilities/LivenessPathList;
11 13 6 path Lsun/jvm/hotspot/utilities/LivenessPath;
14 62 6 path Lsun/jvm/hotspot/utilities/LivenessPath;
15 22 7 i I
17 20 8 tmp Lsun/jvm/hotspot/utilities/LivenessPath;
27 57 7 nextPtrs Ljava/util/ArrayList;
29 57 8 iter Ljava/util/Iterator;
31 56 9 nextElement Lsun/jvm/hotspot/utilities/LivenessPathElement;
38 56 10 nextPath Lsun/jvm/hotspot/utilities/LivenessPath;
43 55 11 i I
45 53 12 el Lsun/jvm/hotspot/utilities/LivenessPathElement;
46 53 13 j I
48 52 14 curPath Lsun/jvm/hotspot/utilities/LivenessPath;
59 62 7 e Ljava/lang/Exception;
Exception table:
from to target type
25 57 58 Class java.lang.Exception
MethodParameters:
Name Flags
target
trimPathsThroughPopularObjects
}
SourceFile: "LivenessAnalysis.java"