class org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer
super_class: java.lang.Object
{
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.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 final java.lang.String compilationUnitName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.ConstantValue increment;
descriptor: Lorg/graalvm/compiler/lir/ConstantValue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.graalvm.compiler.lir.profiling.MethodProfilingPhase this$0;
descriptor: Lorg/graalvm/compiler/lir/profiling/MethodProfilingPhase;
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/profiling/MethodProfilingPhase;
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.MethodProfilingPhase$Analyzer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.graalvm.compiler.lir.profiling.MethodProfilingPhase, jdk.vm.ci.code.TargetDescription, java.lang.String, org.graalvm.compiler.lir.LIR, org.graalvm.compiler.lir.gen.DiagnosticLIRGeneratorTool);
descriptor: (Lorg/graalvm/compiler/lir/profiling/MethodProfilingPhase;Ljdk/vm/ci/code/TargetDescription;Ljava/lang/String;Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.this$0:Lorg/graalvm/compiler/lir/profiling/MethodProfilingPhase;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 4
putfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.lir:Lorg/graalvm/compiler/lir/LIR;
2: aload 0
aload 3
putfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.compilationUnitName:Ljava/lang/String;
3: aload 0
aload 5
putfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$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.MethodProfilingPhase$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
5: aload 0
new org.graalvm.compiler.lir.ConstantValue
dup
aload 2
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;
getstatic jdk.vm.ci.meta.JavaConstant.INT_1:Ljdk/vm/ci/meta/PrimitiveConstant;
invokespecial org.graalvm.compiler.lir.ConstantValue.<init>:(Ljdk/vm/ci/meta/ValueKind;Ljdk/vm/ci/meta/Constant;)V
putfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.increment:Lorg/graalvm/compiler/lir/ConstantValue;
6: return
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/lir/profiling/MethodProfilingPhase$Analyzer;
0 7 2 target Ljdk/vm/ci/code/TargetDescription;
0 7 3 compilationUnitName Ljava/lang/String;
0 7 4 lir Lorg/graalvm/compiler/lir/LIR;
0 7 5 diagnosticLirGenTool Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;
MethodParameters:
Name Flags
this$0 final
target
compilationUnitName
lir
diagnosticLirGenTool
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
aload 0
getfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.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.getStartBlock:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
ldc "METHOD_INVOCATION_COUNTER"
invokevirtual org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.doBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/lang/String;)V
1: aload 0
getfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.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 6
StackMap locals: org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.isLoopHeader:()Z
ifeq 5
4: aload 0
aload 1
ldc "METHOD_ITERATION_COUNTER"
invokevirtual org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.doBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/lang/String;)V
end local 1 5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 3
if_icmplt 2
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/lir/profiling/MethodProfilingPhase$Analyzer;
3 5 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
public void doBlock(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, java.lang.String);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.lir: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 1: getstatic org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.$assertionsDisabled:Z
ifne 2
aload 3
invokevirtual java.util.ArrayList.size:()I
iconst_2
if_icmpge 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Malformed block: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
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
2: StackMap locals: java.util.ArrayList
StackMap stack:
getstatic org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.$assertionsDisabled:Z
ifne 3
aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
instanceof org.graalvm.compiler.lir.StandardOp$BlockEndOp
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Not a BlockEndOp: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
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:
getstatic org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.$assertionsDisabled:Z
ifne 4
aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
iconst_2
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
instanceof org.graalvm.compiler.lir.StandardOp$BlockEndOp
ifeq 4
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Is a BlockEndOp: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
iconst_2
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
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:
getstatic org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.$assertionsDisabled:Z
ifne 5
aload 3
iconst_0
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
instanceof org.graalvm.compiler.lir.StandardOp$LabelOp
ifne 5
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Not a LabelOp: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
iconst_0
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
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
5: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.$assertionsDisabled:Z
ifne 6
aload 3
iconst_1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
instanceof org.graalvm.compiler.lir.StandardOp$LabelOp
ifeq 6
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Is a LabelOp: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
iconst_1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
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.profiling.MethodProfilingPhase$Analyzer.diagnosticLirGenTool:Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;
aload 0
getfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.compilationUnitName:Ljava/lang/String;
aload 2
aload 0
getfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.increment:Lorg/graalvm/compiler/lir/ConstantValue;
invokeinterface org.graalvm.compiler.lir.gen.DiagnosticLIRGeneratorTool.createBenchmarkCounter:(Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/LIRInstruction;
astore 4
start local 4 7: aload 0
getfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
aload 3
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.init:(Ljava/util/List;)V
8: aload 0
getfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
iconst_1
aload 4
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.append:(ILorg/graalvm/compiler/lir/LIRInstruction;)V
9: aload 0
getfield org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.finish:()V
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/lir/profiling/MethodProfilingPhase$Analyzer;
0 11 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 11 2 group Ljava/lang/String;
1 11 3 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
7 11 4 op Lorg/graalvm/compiler/lir/LIRInstruction;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
block
group
}
SourceFile: "MethodProfilingPhase.java"
NestHost: org.graalvm.compiler.lir.profiling.MethodProfilingPhase
InnerClasses:
public abstract BlockEndOp = org.graalvm.compiler.lir.StandardOp$BlockEndOp of org.graalvm.compiler.lir.StandardOp
public final LabelOp = org.graalvm.compiler.lir.StandardOp$LabelOp of org.graalvm.compiler.lir.StandardOp
private Analyzer = org.graalvm.compiler.lir.profiling.MethodProfilingPhase$Analyzer of org.graalvm.compiler.lir.profiling.MethodProfilingPhase