class org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer
super_class: java.lang.Object
{
private final jdk.vm.ci.code.TargetDescription target;
descriptor: Ljdk/vm/ci/code/TargetDescription;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.gen.LIRGenerationResult lirGenRes;
descriptor: Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.gen.DiagnosticLIRGeneratorTool diagnosticLirGenTool;
descriptor: Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.LIRInsertionBuffer buffer;
descriptor: Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String cachedGroupName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final java.util.List<java.lang.String> names;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.util.List<java.lang.String> groups;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.util.List<jdk.vm.ci.meta.Value> increments;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/vm/ci/meta/Value;>;
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/profiling/MoveProfilingPhase;
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.profiling.MoveProfilingPhase$Analyzer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.lir.gen.DiagnosticLIRGeneratorTool);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.target:Ljdk/vm/ci/code/TargetDescription;
2: aload 0
aload 2
putfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.lirGenRes:Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
3: aload 0
aload 3
putfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.diagnosticLirGenTool:Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;
4: aload 0
new org.graalvm.compiler.lir.LIRInsertionBuffer
dup
invokespecial org.graalvm.compiler.lir.LIRInsertionBuffer.<init>:()V
putfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.names:Ljava/util/List;
6: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.groups:Ljava/util/List;
7: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.increments:Ljava/util/List;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/lir/profiling/MoveProfilingPhase$Analyzer;
0 9 1 target Ljdk/vm/ci/code/TargetDescription;
0 9 2 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 9 3 diagnosticLirGenTool Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;
MethodParameters:
Name Flags
target
lirGenRes
diagnosticLirGenTool
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.lirGenRes:Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
astore 1
start local 1 1: aload 1
invokestatic org.graalvm.compiler.lir.profiling.MoveProfiler.profile:(Lorg/graalvm/compiler/lir/LIR;)Lorg/graalvm/compiler/core/common/cfg/BlockMap;
astore 2
start local 2 2: aload 1
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 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.BlockMap 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 2
aload 3
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics
astore 7
start local 7 5: aload 7
ifnull 10
6: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.names:Ljava/util/List;
invokeinterface java.util.List.clear:()V
7: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.groups:Ljava/util/List;
invokeinterface java.util.List.clear:()V
8: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.increments:Ljava/util/List;
invokeinterface java.util.List.clear:()V
9: aload 0
aload 3
aload 7
invokevirtual org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.doBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/lir/profiling/MoveProfiler$MoveStatistics;)V
end local 7 end local 3 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 3
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/lir/profiling/MoveProfilingPhase$Analyzer;
1 13 1 lir Lorg/graalvm/compiler/lir/LIR;
2 13 2 collected Lorg/graalvm/compiler/core/common/cfg/BlockMap<Lorg/graalvm/compiler/lir/profiling/MoveProfiler$MoveStatistics;>;
4 10 3 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
5 10 7 moveStatistics Lorg/graalvm/compiler/lir/profiling/MoveProfiler$MoveStatistics;
public void doBlock(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/lir/profiling/MoveProfiler$MoveStatistics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.graalvm.compiler.lir.profiling.MoveType.values:()[Lorg/graalvm/compiler/lir/profiling/MoveType;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer org.graalvm.compiler.core.common.cfg.AbstractBlockBase org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics top int int org.graalvm.compiler.lir.profiling.MoveType[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 3
invokevirtual org.graalvm.compiler.lir.profiling.MoveType.toString:()Ljava/lang/String;
astore 7
start local 7 3: aload 0
aload 7
aload 0
invokevirtual org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.getGroupName:()Ljava/lang/String;
aload 2
aload 3
invokevirtual org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics.get:(Lorg/graalvm/compiler/lir/profiling/MoveType;)I
invokevirtual org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.addEntry:(Ljava/lang/String;Ljava/lang/String;I)V
end local 7 end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 1
6: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.insertBenchmarkCounter:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/lir/profiling/MoveProfilingPhase$Analyzer;
0 8 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 8 2 moveStatistics Lorg/graalvm/compiler/lir/profiling/MoveProfiler$MoveStatistics;
2 4 3 type Lorg/graalvm/compiler/lir/profiling/MoveType;
3 4 7 name Ljava/lang/String;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Lorg/graalvm/compiler/lir/profiling/MoveProfiler$MoveStatistics;)V
MethodParameters:
Name Flags
block
moveStatistics
protected final void addEntry(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifle 4
1: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.names:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.groups:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.increments:Ljava/util/List;
new org.graalvm.compiler.lir.ConstantValue
dup
aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.target:Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.arch:Ljdk/vm/ci/code/Architecture;
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.core.common.LIRKind.fromJavaKind:(Ljdk/vm/ci/code/Architecture;Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/LIRKind;
iload 3
invokestatic jdk.vm.ci.meta.JavaConstant.forInt:(I)Ljdk/vm/ci/meta/PrimitiveConstant;
invokespecial org.graalvm.compiler.lir.ConstantValue.<init>:(Ljdk/vm/ci/meta/ValueKind;Ljdk/vm/ci/meta/Constant;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/lir/profiling/MoveProfilingPhase$Analyzer;
0 5 1 name Ljava/lang/String;
0 5 2 groupName Ljava/lang/String;
0 5 3 count I
MethodParameters:
Name Flags
name
groupName
count
protected final void insertBenchmarkCounter(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.names:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iload 2
ifle 12
2: getstatic org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.$assertionsDisabled:Z
ifne 4
iload 2
ifle 3
iload 2
aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.groups:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpne 3
iload 2
aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.increments:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpeq 4
StackMap locals: int
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.lirGenRes:Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
aload 1
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
astore 3
start local 3 5: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.diagnosticLirGenTool:Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;
aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.names:Ljava/util/List;
iload 2
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.groups:Ljava/util/List;
iload 2
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
6: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.increments:Ljava/util/List;
iload 2
anewarray jdk.vm.ci.meta.Value
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast jdk.vm.ci.meta.Value[]
7: invokeinterface org.graalvm.compiler.lir.gen.DiagnosticLIRGeneratorTool.createMultiBenchmarkCounter:([Ljava/lang/String;[Ljava/lang/String;[Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/LIRInstruction;
astore 4
start local 4 8: getstatic org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.$assertionsDisabled:Z
ifne 9
aload 4
ifnonnull 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: java.util.ArrayList org.graalvm.compiler.lir.LIRInstruction
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
aload 3
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.init:(Ljava/util/List;)V
10: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
iconst_1
aload 4
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.append:(ILorg/graalvm/compiler/lir/LIRInstruction;)V
11: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.finish:()V
end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/lir/profiling/MoveProfilingPhase$Analyzer;
0 13 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
1 13 2 size I
5 12 3 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
8 12 4 inst Lorg/graalvm/compiler/lir/LIRInstruction;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
block
protected final java.lang.String getGroupName();
descriptor: ()Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.cachedGroupName:Ljava/lang/String;
ifnonnull 2
1: aload 0
aload 0
invokevirtual org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.createGroupName:()Ljava/lang/String;
putfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.cachedGroupName:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.cachedGroupName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/lir/profiling/MoveProfilingPhase$Analyzer;
protected java.lang.String createGroupName();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Options.LIRDynMoveProfileMethod:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.lirGenRes:Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 2
1: new java.lang.StringBuilder
dup
bipush 34
invokespecial java.lang.StringBuilder.<init>:(I)V
ldc "MoveOperations"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer.lirGenRes:Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getCompilationUnitName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
ldc "MoveOperations"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/lir/profiling/MoveProfilingPhase$Analyzer;
}
SourceFile: "MoveProfilingPhase.java"
NestHost: org.graalvm.compiler.lir.profiling.MoveProfilingPhase
InnerClasses:
MoveStatistics = org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics of org.graalvm.compiler.lir.profiling.MoveProfiler
Analyzer = org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Analyzer of org.graalvm.compiler.lir.profiling.MoveProfilingPhase
public Options = org.graalvm.compiler.lir.profiling.MoveProfilingPhase$Options of org.graalvm.compiler.lir.profiling.MoveProfilingPhase