final class org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser
super_class: java.lang.Object
{
private static final int LOG_LEVEL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private final java.util.BitSet[] liveIns;
descriptor: [Ljava/util/BitSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.BitSet[] liveOuts;
descriptor: [Ljava/util/BitSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>[] blocks;
descriptor: [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
private final jdk.vm.ci.meta.Value[] operands;
descriptor: [Ljdk/vm/ci/meta/Value;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.LIR lir;
descriptor: Lorg/graalvm/compiler/lir/LIR;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder livenessInfoBuilder;
descriptor: Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase this$0;
descriptor: Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase, org.graalvm.compiler.lir.LIR);
descriptor: (Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase;Lorg/graalvm/compiler/lir/LIR;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.this$0:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
invokevirtual org.graalvm.compiler.lir.LIR.getControlFlowGraph:()Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;
invokeinterface org.graalvm.compiler.core.common.cfg.AbstractControlFlowGraph.getBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
arraylength
istore 3
start local 3 2: aload 0
iload 3
anewarray java.util.BitSet
putfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.liveIns:[Ljava/util/BitSet;
3: aload 0
iload 3
anewarray java.util.BitSet
putfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.liveOuts:[Ljava/util/BitSet;
4: aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.LIR.getControlFlowGraph:()Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;
invokeinterface org.graalvm.compiler.core.common.cfg.AbstractControlFlowGraph.getBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
putfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.blocks:[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
5: aload 0
aload 2
putfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.lir:Lorg/graalvm/compiler/lir/LIR;
6: aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.LIR.numVariables:()I
anewarray jdk.vm.ci.meta.Value
putfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.operands:[Ljdk/vm/ci/meta/Value;
7: aload 0
new org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder
dup
aload 2
invokespecial org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder.<init>:(Lorg/graalvm/compiler/lir/LIR;)V
putfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
8: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 9 2 lir Lorg/graalvm/compiler/lir/LIR;
2 9 3 numBlocks I
MethodParameters:
Name Flags
this$0 final
lir
private java.util.BitSet getLiveIn(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.liveIns:[Ljava/util/BitSet;
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 1 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)Ljava/util/BitSet;
MethodParameters:
Name Flags
block final
private java.util.BitSet getLiveOut(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.liveOuts:[Ljava/util/BitSet;
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 1 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)Ljava/util/BitSet;
MethodParameters:
Name Flags
block final
private void setLiveIn(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, java.util.BitSet);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/util/BitSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.liveIns:[Ljava/util/BitSet;
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
aload 2
aastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 2 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 2 2 liveIn Ljava/util/BitSet;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Ljava/util/BitSet;)V
MethodParameters:
Name Flags
block final
liveIn final
private void setLiveOut(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, java.util.BitSet);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/util/BitSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.liveOuts:[Ljava/util/BitSet;
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
aload 2
aastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 2 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 2 2 liveOut Ljava/util/BitSet;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Ljava/util/BitSet;)V
MethodParameters:
Name Flags
block final
liveOut final
private void buildIntern();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.computeLiveness:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
private int liveSetSize();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.lir:Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.numVariables:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
private int operandNumber(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVariable:(Ljdk/vm/ci/meta/Value;)Z
ifeq 2
1: aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asVariable:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/Variable;
getfield org.graalvm.compiler.lir.Variable.index:I
ireturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Can only handle Variables: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 3 1 operand Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
operand
private void computeLiveness();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=16, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.lir:Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 1
start local 1 1: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.blocks:[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
arraylength
iconst_1
isub
istore 2
start local 2 2: goto 43
3: StackMap locals: org.graalvm.compiler.debug.DebugContext int
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.blocks:[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
iload 2
aaload
astore 3
start local 3 4: aconst_null
astore 4
aconst_null
astore 5
5: aload 1
iconst_2
ldc "compute local live sets for block %s"
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(ILjava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Indent;
astore 6
start local 6 6: aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.mergeLiveSets:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
astore 7
start local 7 7: aload 0
aload 3
aload 7
invokevirtual java.util.BitSet.clone:()Ljava/lang/Object;
checkcast java.util.BitSet
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.setLiveOut:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/util/BitSet;)V
8: new org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser$1
dup
aload 0
aload 7
invokespecial org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser$1.<init>:(Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;Ljava/util/BitSet;)V
astore 8
start local 8 9: new org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser$2
dup
aload 0
aload 7
invokespecial org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser$2.<init>:(Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;Ljava/util/BitSet;)V
astore 9
start local 9 10: aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.isLogEnabled:()Z
ifeq 12
11: aload 1
iconst_2
ldc "liveOut B%d %s"
aload 3
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveOut:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;ILjava/lang/Object;)V
12: StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.debug.DebugContext int org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.util.BitSet org.graalvm.compiler.lir.InstructionValueConsumer org.graalvm.compiler.lir.InstructionValueConsumer
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLIR:()Lorg/graalvm/compiler/lir/LIR;
aload 3
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
astore 10
start local 10 13: aload 10
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
istore 11
start local 11 14: goto 30
15: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 10
iload 11
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 12
start local 12 16: aconst_null
astore 13
aconst_null
astore 14
17: aload 1
iconst_2
ldc "handle op %d: %s"
aload 12
invokevirtual org.graalvm.compiler.lir.LIRInstruction.id:()I
aload 12
invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(ILjava/lang/String;ILjava/lang/Object;)Lorg/graalvm/compiler/debug/Indent;
astore 15
start local 15 18: aload 12
aload 9
invokevirtual org.graalvm.compiler.lir.LIRInstruction.visitEachOutput:(Lorg/graalvm/compiler/lir/InstructionValueConsumer;)V
19: aload 12
aload 9
invokevirtual org.graalvm.compiler.lir.LIRInstruction.visitEachTemp:(Lorg/graalvm/compiler/lir/InstructionValueConsumer;)V
20: aload 12
aload 8
invokevirtual org.graalvm.compiler.lir.LIRInstruction.visitEachState:(Lorg/graalvm/compiler/lir/InstructionValueConsumer;)V
21: aload 12
aload 8
invokevirtual org.graalvm.compiler.lir.LIRInstruction.visitEachAlive:(Lorg/graalvm/compiler/lir/InstructionValueConsumer;)V
22: aload 12
aload 8
invokevirtual org.graalvm.compiler.lir.LIRInstruction.visitEachInput:(Lorg/graalvm/compiler/lir/InstructionValueConsumer;)V
23: aload 15
ifnull 29
aload 15
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 29
StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.debug.DebugContext int org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.util.BitSet org.graalvm.compiler.lir.InstructionValueConsumer org.graalvm.compiler.lir.InstructionValueConsumer java.util.ArrayList int org.graalvm.compiler.lir.LIRInstruction java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
24: astore 13
aload 15
ifnull 25
aload 15
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 15 StackMap locals:
StackMap stack:
25: aload 13
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
26: astore 14
aload 13
ifnonnull 27
aload 14
astore 13
goto 28
StackMap locals:
StackMap stack:
27: aload 13
aload 14
if_acmpeq 28
aload 13
aload 14
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
28: aload 13
athrow
end local 12 29: StackMap locals:
StackMap stack:
iinc 11 -1
StackMap locals:
StackMap stack:
30: iload 11
ifge 15
end local 11 31: aload 0
aload 3
aload 7
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.setLiveIn:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/util/BitSet;)V
32: aload 3
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.isLoopHeader:()Z
ifeq 34
33: aload 0
aload 3
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getLoop:()Lorg/graalvm/compiler/core/common/cfg/Loop;
aload 7
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.handleLoopHeader:(Lorg/graalvm/compiler/core/common/cfg/Loop;Ljava/util/BitSet;)V
34: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.isLogEnabled:()Z
ifeq 36
35: aload 1
iconst_2
ldc "liveIn B%d %s"
aload 3
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveIn:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;ILjava/lang/Object;)V
end local 10 end local 9 end local 8 end local 7 36: StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.debug.DebugContext int org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack:
aload 6
ifnull 42
aload 6
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 42
StackMap locals:
StackMap stack: java.lang.Throwable
37: astore 4
aload 6
ifnull 38
aload 6
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 6 StackMap locals:
StackMap stack:
38: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
39: astore 5
aload 4
ifnonnull 40
aload 5
astore 4
goto 41
StackMap locals:
StackMap stack:
40: aload 4
aload 5
if_acmpeq 41
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
41: aload 4
athrow
end local 3 42: StackMap locals:
StackMap stack:
iinc 2 -1
StackMap locals:
StackMap stack:
43: iload 2
ifge 3
end local 2 44: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
1 45 1 debug Lorg/graalvm/compiler/debug/DebugContext;
2 44 2 i I
4 42 3 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
6 38 6 indent Lorg/graalvm/compiler/debug/Indent;
7 36 7 liveIn Ljava/util/BitSet;
9 36 8 useConsumer Lorg/graalvm/compiler/lir/InstructionValueConsumer;
10 36 9 defConsumer Lorg/graalvm/compiler/lir/InstructionValueConsumer;
13 36 10 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
14 31 11 j I
16 29 12 op Lorg/graalvm/compiler/lir/LIRInstruction;
18 25 15 indent2 Lorg/graalvm/compiler/debug/Indent;
Exception table:
from to target type
18 23 24 any
17 26 26 any
6 36 37 any
5 39 39 any
private void handleLoopHeader(org.graalvm.compiler.core.common.cfg.Loop<?>, java.util.BitSet);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/Loop;Ljava/util/BitSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getBlocks:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.core.common.cfg.Loop java.util.BitSet top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.cfg.AbstractBlockBase
astore 3
start local 3 2: aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveIn:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
aload 2
invokevirtual java.util.BitSet.or:(Ljava/util/BitSet;)V
3: aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveOut:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
aload 2
invokevirtual java.util.BitSet.or:(Ljava/util/BitSet;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 6 1 loop Lorg/graalvm/compiler/core/common/cfg/Loop<*>;
0 6 2 live Ljava/util/BitSet;
2 4 3 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/core/common/cfg/Loop<*>;Ljava/util/BitSet;)V
MethodParameters:
Name Flags
loop
live
private java.util.BitSet mergeLiveSets(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new java.util.BitSet
dup
aload 0
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.liveSetSize:()I
invokespecial java.util.BitSet.<init>:(I)V
astore 2
start local 2 2: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.BitSet top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveIn:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
astore 7
start local 7 5: aload 7
ifnull 8
6: aload 2
aload 7
invokevirtual java.util.BitSet.or:(Ljava/util/BitSet;)V
7: goto 9
8: StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.BitSet org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.util.BitSet
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.$assertionsDisabled:Z
ifne 9
aload 3
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.isLoopHeader:()Z
ifne 9
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Successor of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " not yet processed and not loop header: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 7 end local 3 9: StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.BitSet top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 3
11: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 12 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
2 12 2 liveOut Ljava/util/BitSet;
4 9 3 successor Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
5 9 7 succLiveIn Ljava/util/BitSet;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)Ljava/util/BitSet;
MethodParameters:
Name Flags
block final
private void processUse(java.util.BitSet, jdk.vm.ci.meta.Value);
descriptor: (Ljava/util/BitSet;Ljdk/vm/ci/meta/Value;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVariable:(Ljdk/vm/ci/meta/Value;)Z
ifeq 6
1: aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.operandNumber:(Ljdk/vm/ci/meta/Value;)I
istore 3
start local 3 2: aload 1
iload 3
invokevirtual java.util.BitSet.set:(I)V
3: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.lir:Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 4
start local 4 4: aload 4
invokevirtual org.graalvm.compiler.debug.DebugContext.isLogEnabled:()Z
ifeq 6
5: aload 4
iconst_2
ldc "liveGen for operand %d(%s)"
iload 3
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;ILjava/lang/Object;)V
end local 4 end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 7 1 liveGen Ljava/util/BitSet;
0 7 2 operand Ljdk/vm/ci/meta/Value;
2 6 3 operandNum I
4 6 4 debug Lorg/graalvm/compiler/debug/DebugContext;
MethodParameters:
Name Flags
liveGen final
operand
private void processDef(java.util.BitSet, org.graalvm.compiler.lir.LIRInstruction, jdk.vm.ci.meta.Value);
descriptor: (Ljava/util/BitSet;Lorg/graalvm/compiler/lir/LIRInstruction;Ljdk/vm/ci/meta/Value;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVariable:(Ljdk/vm/ci/meta/Value;)Z
ifeq 9
1: aload 0
aload 2
aload 3
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asVariable:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/Variable;
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.recordVariable:(Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/Variable;)V
2: aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.operandNumber:(Ljdk/vm/ci/meta/Value;)I
istore 4
start local 4 3: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.operands:[Ljdk/vm/ci/meta/Value;
iload 4
aaload
ifnonnull 5
4: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.operands:[Ljdk/vm/ci/meta/Value;
iload 4
aload 3
aastore
5: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokevirtual java.util.BitSet.clear:(I)V
6: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.lir:Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 5
start local 5 7: aload 5
invokevirtual org.graalvm.compiler.debug.DebugContext.isLogEnabled:()Z
ifeq 9
8: aload 5
iconst_2
ldc "liveKill for operand %d(%s)"
iload 4
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;ILjava/lang/Object;)V
end local 5 end local 4 9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 10 1 liveGen Ljava/util/BitSet;
0 10 2 op Lorg/graalvm/compiler/lir/LIRInstruction;
0 10 3 operand Ljdk/vm/ci/meta/Value;
3 9 4 operandNum I
7 9 5 debug Lorg/graalvm/compiler/debug/DebugContext;
MethodParameters:
Name Flags
liveGen final
op
operand
private org.graalvm.compiler.lir.LIR getLIR();
descriptor: ()Lorg/graalvm/compiler/lir/LIR;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.lir:Lorg/graalvm/compiler/lir/LIR;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
public void build();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.buildIntern:()V
1: aload 0
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLIR:()Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getControlFlowGraph:()Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;
invokeinterface org.graalvm.compiler.core.common.cfg.AbstractControlFlowGraph.getStartBlock:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveIn:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
invokevirtual java.util.BitSet.cardinality:()I
ifeq 4
3: new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "liveIn set of first block must be empty: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveIn:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.graalvm.compiler.core.common.cfg.AbstractBlockBase
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
2 5 1 startBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
public void finish();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.lir:Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getControlFlowGraph:()Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;
invokeinterface org.graalvm.compiler.core.common.cfg.AbstractControlFlowGraph.getBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 13
StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aconst_null
astore 5
aconst_null
astore 6
3: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.lir:Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_2
ldc "Finish Block %s"
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(ILjava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Indent;
astore 7
start local 7 4: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.buildIncoming:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
5: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.buildOutgoing:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
6: aload 7
ifnull 12
aload 7
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 12
StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
7: astore 5
aload 7
ifnull 8
aload 7
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 7 StackMap locals:
StackMap stack:
8: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 6
aload 5
ifnonnull 10
aload 6
astore 5
goto 11
StackMap locals:
StackMap stack:
10: aload 5
aload 6
if_acmpeq 11
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 5
athrow
end local 1 12: StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
13: iload 2
iload 3
if_icmplt 1
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
2 12 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
4 8 7 indent Lorg/graalvm/compiler/debug/Indent;
Exception table:
from to target type
4 6 7 any
3 9 9 any
public org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo getLivenessInfo();
descriptor: ()Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
ifnonnull 1
new java.lang.AssertionError
dup
ldc "No liveness info collected"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder.createLivenessInfo:()Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
private void buildIncoming(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.storesIncoming:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifne 4
1: getstatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.$assertionsDisabled:Z
ifne 2
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessorCount:()I
iconst_1
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.$assertionsDisabled:Z
ifne 3
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
iconst_0
aaload
invokestatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.storesOutgoing:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "No incoming liveness info: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessorCount:()I
ifne 8
5: getstatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.$assertionsDisabled:Z
ifne 6
aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveIn:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
invokevirtual java.util.BitSet.isEmpty:()Z
ifne 6
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "liveIn for start block is not empty? "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveIn:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder.emptySet:[I
astore 2
start local 2 7: goto 12
end local 2 8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
iconst_0
aaload
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveOut:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
astore 3
start local 3 9: aload 3
invokevirtual java.util.BitSet.isEmpty:()Z
ifeq 10
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder.emptySet:[I
goto 11
StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.core.common.cfg.AbstractBlockBase top java.util.BitSet
StackMap stack:
10: aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.bitSetToIntArray:(Ljava/util/BitSet;)[I
StackMap locals:
StackMap stack: int[]
11: astore 2
end local 3 start local 2 12: StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.core.common.cfg.AbstractBlockBase int[]
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
aload 1
aload 2
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder.setIncoming:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[I)V
13: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 17
StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.core.common.cfg.AbstractBlockBase int[] top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
14: aload 6
iload 4
aaload
astore 3
start local 3 15: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
aload 3
aload 2
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder.setOutgoing:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[I)V
end local 3 16: iinc 4 1
StackMap locals:
StackMap stack:
17: iload 4
iload 5
if_icmplt 14
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 19 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
7 8 2 liveInArray [I
12 19 2 liveInArray [I
9 12 3 predLiveOut Ljava/util/BitSet;
15 16 3 pred Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
block
private void buildOutgoing(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.getLiveOut:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/BitSet;
astore 2
start local 2 1: aload 1
invokestatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.storesOutgoing:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifne 5
2: getstatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.$assertionsDisabled:Z
ifne 3
aload 1
invokestatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.storesOutgoing:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifne 3
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessorCount:()I
iconst_1
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: java.util.BitSet
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.$assertionsDisabled:Z
ifne 4
aload 1
invokestatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.storesOutgoing:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifne 4
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
iconst_0
aaload
invokestatic org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.storesIncoming:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifne 4
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "No outgoing liveness info: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.BitSet.isEmpty:()Z
ifeq 6
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder.emptySet:[I
goto 7
StackMap locals:
StackMap stack:
6: aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.bitSetToIntArray:(Ljava/util/BitSet;)[I
StackMap locals:
StackMap stack: int[]
7: astore 3
start local 3 8: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
aload 1
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder.setOutgoing:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[I)V
9: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 13
StackMap locals: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.BitSet int[] top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
10: aload 7
iload 5
aaload
astore 4
start local 4 11: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
aload 4
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder.setIncoming:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[I)V
end local 4 12: iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 6
if_icmplt 10
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 15 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
1 15 2 liveOut Ljava/util/BitSet;
8 15 3 liveOutArray [I
11 12 4 succ Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
block
private int[] bitSetToIntArray(java.util.BitSet);
descriptor: (Ljava/util/BitSet;)[I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.BitSet.cardinality:()I
newarray 10
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 1
iconst_0
invokevirtual java.util.BitSet.nextSetBit:(I)I
istore 4
start local 4 3: goto 6
4: StackMap locals: int[] int int
StackMap stack:
aload 2
iload 3
iload 4
iastore
5: aload 1
iload 4
iconst_1
iadd
invokevirtual java.util.BitSet.nextSetBit:(I)I
istore 4
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 4
ifge 4
end local 4 7: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 8 1 live Ljava/util/BitSet;
1 8 2 vars [I
2 8 3 cnt I
3 7 4 i I
MethodParameters:
Name Flags
live
private void recordVariable(org.graalvm.compiler.lir.LIRInstruction, org.graalvm.compiler.lir.Variable);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/Variable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser.livenessInfoBuilder:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo$Builder;
aload 1
aload 2
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder.addVariable:(Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/Variable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessAnalysisPhase$Analyser;
0 2 1 op Lorg/graalvm/compiler/lir/LIRInstruction;
0 2 2 var Lorg/graalvm/compiler/lir/Variable;
MethodParameters:
Name Flags
op
var
}
SourceFile: "GlobalLivenessAnalysisPhase.java"
NestHost: org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase
InnerClasses:
private final Analyser = org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser of org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase
org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser$1
org.graalvm.compiler.lir.alloc.trace.GlobalLivenessAnalysisPhase$Analyser$2
public final Builder = org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo$Builder of org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo