public class org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase extends org.graalvm.compiler.lir.phases.AllocationPhase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase
super_class: org.graalvm.compiler.lir.phases.AllocationPhase
{
private static final int TRACE_LOG_LEVEL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int TRACE_DUMP_LEVEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$graalvm$compiler$lir$alloc$trace$TraceBuilderPhase$TraceBuilder;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, 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/TraceBuilderPhase;
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.TraceBuilderPhase.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.lir.phases.AllocationPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/alloc/trace/TraceBuilderPhase;
protected void run(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/phases/AllocationPhase$AllocationContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.linearScanOrder:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 4
start local 4 1: aload 4
iconst_0
aaload
astore 5
start local 5 2: aload 2
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
astore 6
start local 6 3: getstatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase.$assertionsDisabled:Z
ifne 4
aload 5
aload 6
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;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.core.common.cfg.AbstractBlockBase org.graalvm.compiler.lir.LIR
StackMap stack:
aload 6
aload 5
aload 4
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase.getTraceBuilderResult:(Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
astore 7
start local 7 5: iconst_1
invokestatic org.graalvm.compiler.debug.Debug.isLogEnabled:(I)Z
ifeq 15
6: aload 7
invokevirtual org.graalvm.compiler.core.common.alloc.TraceBuilderResult.getTraces:()Ljava/util/ArrayList;
astore 8
start local 8 7: iconst_0
istore 9
start local 9 8: goto 14
9: StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.util.List int
StackMap stack:
aload 8
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.alloc.Trace
astore 10
start local 10 10: iconst_1
ldc "Trace %5d: %s%s"
iload 9
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 10
aload 2
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
aload 10
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceUtil.isTrivialTrace:(Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/alloc/Trace;)Z
ifeq 11
ldc " (trivial)"
goto 12
StackMap locals: org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase jdk.vm.ci.code.TargetDescription org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.core.common.cfg.AbstractBlockBase org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.util.List int org.graalvm.compiler.core.common.alloc.Trace
StackMap stack: int java.lang.String java.lang.Integer org.graalvm.compiler.core.common.alloc.Trace
11: ldc ""
StackMap locals: org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase jdk.vm.ci.code.TargetDescription org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] org.graalvm.compiler.core.common.cfg.AbstractBlockBase org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.alloc.TraceBuilderResult java.util.List int org.graalvm.compiler.core.common.alloc.Trace
StackMap stack: int java.lang.String java.lang.Integer org.graalvm.compiler.core.common.alloc.Trace java.lang.String
12: invokestatic org.graalvm.compiler.debug.Debug.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
end local 10 13: iinc 9 1
StackMap locals:
StackMap stack:
14: iload 9
aload 8
invokeinterface java.util.List.size:()I
if_icmplt 9
end local 9 end local 8 15: StackMap locals:
StackMap stack:
aload 7
aload 2
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getCompilationUnitName:()Ljava/lang/String;
invokestatic org.graalvm.compiler.core.common.alloc.TraceStatisticsPrinter.printTraceStatistics:(Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Ljava/lang/String;)V
16: iconst_3
aload 7
ldc "After TraceBuilding"
invokestatic org.graalvm.compiler.debug.Debug.dump:(ILjava/lang/Object;Ljava/lang/String;)V
17: aload 3
aload 7
invokevirtual org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext.contextAdd:(Ljava/lang/Object;)V
18: return
end local 7 end local 6 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 19 0 this Lorg/graalvm/compiler/lir/alloc/trace/TraceBuilderPhase;
0 19 1 target Ljdk/vm/ci/code/TargetDescription;
0 19 2 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 19 3 context Lorg/graalvm/compiler/lir/phases/AllocationPhase$AllocationContext;
1 19 4 linearScanOrder [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
2 19 5 startBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
3 19 6 lir Lorg/graalvm/compiler/lir/LIR;
5 19 7 traceBuilderResult Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
7 15 8 traces Ljava/util/List<Lorg/graalvm/compiler/core/common/alloc/Trace;>;
8 15 9 i I
10 13 10 trace Lorg/graalvm/compiler/core/common/alloc/Trace;
MethodParameters:
Name Flags
target
lirGenRes
context
private static org.graalvm.compiler.core.common.alloc.TraceBuilderResult getTraceBuilderResult(org.graalvm.compiler.lir.LIR, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>[]);
descriptor: (Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase.getTrivialTracePredicate:(Lorg/graalvm/compiler/lir/LIR;)Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult$TrivialTracePredicate;
astore 3
start local 3 1: getstatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$Options.TraceBuilding:Lorg/graalvm/compiler/options/EnumOptionValue;
invokevirtual org.graalvm.compiler.options.EnumOptionValue.getValue:()Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder
astore 4
start local 4 2: iconst_1
ldc "Building Traces using %s"
aload 4
invokestatic org.graalvm.compiler.debug.Debug.log:(ILjava/lang/String;Ljava/lang/Object;)V
3: invokestatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase.$SWITCH_TABLE$org$graalvm$compiler$lir$alloc$trace$TraceBuilderPhase$TraceBuilder:()[I
getstatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$Options.TraceBuilding:Lorg/graalvm/compiler/options/EnumOptionValue;
invokevirtual org.graalvm.compiler.options.EnumOptionValue.getValue:()Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 6
2: 5
3: 4
default: 7
}
4: StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult$TrivialTracePredicate org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder
StackMap stack:
aload 1
aload 2
aload 3
invokestatic org.graalvm.compiler.core.common.alloc.SingleBlockTraceBuilder.computeTraces:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult$TrivialTracePredicate;)Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
areturn
5: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 3
invokestatic org.graalvm.compiler.core.common.alloc.BiDirectionalTraceBuilder.computeTraces:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult$TrivialTracePredicate;)Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
areturn
6: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 3
invokestatic org.graalvm.compiler.core.common.alloc.UniDirectionalTraceBuilder.computeTraces:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult$TrivialTracePredicate;)Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
areturn
7: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Unknown trace building algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$Options.TraceBuilding:Lorg/graalvm/compiler/options/EnumOptionValue;
invokevirtual org.graalvm.compiler.options.EnumOptionValue.getValue:()Ljava/lang/Object;
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 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 lir Lorg/graalvm/compiler/lir/LIR;
0 8 1 startBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 8 2 linearScanOrder [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
1 8 3 pred Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult$TrivialTracePredicate;
2 8 4 selectedTraceBuilder Lorg/graalvm/compiler/lir/alloc/trace/TraceBuilderPhase$TraceBuilder;
Signature: (Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
MethodParameters:
Name Flags
lir
startBlock
linearScanOrder
public static org.graalvm.compiler.core.common.alloc.TraceBuilderResult$TrivialTracePredicate getTrivialTracePredicate(org.graalvm.compiler.lir.LIR);
descriptor: (Lorg/graalvm/compiler/lir/LIR;)Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult$TrivialTracePredicate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$Options.TraceRAScheduleTrivialTracesEarly:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$1
dup
aload 0
invokespecial org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$1.<init>:(Lorg/graalvm/compiler/lir/LIR;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 lir Lorg/graalvm/compiler/lir/LIR;
MethodParameters:
Name Flags
lir
protected void run(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, java.lang.Object);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
checkcast org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase.run:(Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/phases/AllocationPhase$AllocationContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
static int[] $SWITCH_TABLE$org$graalvm$compiler$lir$alloc$trace$TraceBuilderPhase$TraceBuilder();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase.$SWITCH_TABLE$org$graalvm$compiler$lir$alloc$trace$TraceBuilderPhase$TraceBuilder:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder.values:()[Lorg/graalvm/compiler/lir/alloc/trace/TraceBuilderPhase$TraceBuilder;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder.BiDirectional:Lorg/graalvm/compiler/lir/alloc/trace/TraceBuilderPhase$TraceBuilder;
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder.SingleBlock:Lorg/graalvm/compiler/lir/alloc/trace/TraceBuilderPhase$TraceBuilder;
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder.UniDirectional:Lorg/graalvm/compiler/lir/alloc/trace/TraceBuilderPhase$TraceBuilder;
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase.$SWITCH_TABLE$org$graalvm$compiler$lir$alloc$trace$TraceBuilderPhase$TraceBuilder:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "TraceBuilderPhase.java"
NestMembers:
org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$1 org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$Options org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder
InnerClasses:
public abstract TrivialTracePredicate = org.graalvm.compiler.core.common.alloc.TraceBuilderResult$TrivialTracePredicate of org.graalvm.compiler.core.common.alloc.TraceBuilderResult
org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$1
public Options = org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$Options of org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase
public final TraceBuilder = org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase$TraceBuilder of org.graalvm.compiler.lir.alloc.trace.TraceBuilderPhase
public final AllocationContext = org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext of org.graalvm.compiler.lir.phases.AllocationPhase