class org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$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.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
final org.graalvm.compiler.hotspot.HotSpotInstructionProfiling this$0;
descriptor: Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling;
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/hotspot/HotSpotInstructionProfiling;
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.hotspot.HotSpotInstructionProfiling$Analyzer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.graalvm.compiler.hotspot.HotSpotInstructionProfiling, jdk.vm.ci.code.TargetDescription, java.lang.String, org.graalvm.compiler.lir.LIR, org.graalvm.compiler.lir.gen.DiagnosticLIRGeneratorTool);
descriptor: (Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling;Ljdk/vm/ci/code/TargetDescription;Ljava/lang/String;Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;)V
flags: (0x0000)
Code:
stack=3, 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.hotspot.HotSpotInstructionProfiling$Analyzer.this$0:Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.target:Ljdk/vm/ci/code/TargetDescription;
2: aload 0
aload 4
putfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.lir:Lorg/graalvm/compiler/lir/LIR;
3: aload 0
aload 3
putfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.compilationUnitName:Ljava/lang/String;
4: aload 0
aload 5
putfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.diagnosticLirGenTool:Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;
5: aload 0
new org.graalvm.compiler.lir.LIRInsertionBuffer
dup
invokespecial org.graalvm.compiler.lir.LIRInsertionBuffer.<init>:()V
putfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
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/hotspot/HotSpotInstructionProfiling$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=2, locals=5, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$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 4
StackMap locals: org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.doBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
end local 1 3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 3
if_icmplt 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling$Analyzer;
2 3 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
public void doBlock(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$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 2
start local 2 1: getstatic org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.$assertionsDisabled:Z
ifne 2
aload 2
invokeinterface java.util.List.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 2
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.List
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.$assertionsDisabled:Z
ifne 3
aload 2
aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.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 2
aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.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.hotspot.HotSpotInstructionProfiling$Analyzer.$assertionsDisabled:Z
ifne 4
aload 2
aload 2
invokeinterface java.util.List.size:()I
iconst_2
isub
invokeinterface java.util.List.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 2
aload 2
invokeinterface java.util.List.size:()I
iconst_2
isub
invokeinterface java.util.List.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.hotspot.HotSpotInstructionProfiling$Analyzer.$assertionsDisabled:Z
ifne 5
aload 2
iconst_0
invokeinterface java.util.List.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 2
iconst_0
invokeinterface java.util.List.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.hotspot.HotSpotInstructionProfiling$Analyzer.$assertionsDisabled:Z
ifne 6
aload 2
iconst_1
invokeinterface java.util.List.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 2
iconst_1
invokeinterface java.util.List.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.hotspot.HotSpotInstructionProfiling$Analyzer.this$0:Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling;
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling.instructionsToProfile:[Ljava/lang/String;
arraylength
anewarray java.lang.String
astore 3
start local 3 7: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.this$0:Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling;
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling.instructionsToProfile:[Ljava/lang/String;
arraylength
anewarray java.lang.String
astore 4
start local 4 8: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.this$0:Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling;
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling.instructionsToProfile:[Ljava/lang/String;
arraylength
anewarray jdk.vm.ci.meta.Value
astore 5
start local 5 9: iconst_0
istore 6
start local 6 10: goto 15
11: StackMap locals: org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.List java.lang.String[] java.lang.String[] jdk.vm.ci.meta.Value[] int
StackMap stack:
aload 3
iload 6
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.compilationUnitName:Ljava/lang/String;
aastore
12: aload 4
iload 6
new java.lang.StringBuilder
dup
ldc "INSTRUCTION_COUNTER "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.this$0:Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling;
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling.instructionsToProfile:[Ljava/lang/String;
iload 6
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
13: aload 5
iload 6
new org.graalvm.compiler.lir.ConstantValue
dup
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$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;
getstatic jdk.vm.ci.meta.JavaConstant.INT_0:Ljdk/vm/ci/meta/PrimitiveConstant;
invokespecial org.graalvm.compiler.lir.ConstantValue.<init>:(Ljdk/vm/ci/meta/ValueKind;Ljdk/vm/ci/meta/Constant;)V
aastore
14: iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.this$0:Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling;
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling.instructionsToProfile:[Ljava/lang/String;
arraylength
if_icmplt 11
end local 6 16: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.diagnosticLirGenTool:Lorg/graalvm/compiler/lir/gen/DiagnosticLIRGeneratorTool;
aload 3
aload 4
aload 5
invokeinterface org.graalvm.compiler.lir.gen.DiagnosticLIRGeneratorTool.createMultiBenchmarkCounter:([Ljava/lang/String;[Ljava/lang/String;[Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/LIRInstruction;
checkcast org.graalvm.compiler.hotspot.HotSpotCounterOp
astore 6
start local 6 17: new org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$InstructionCounterOp
dup
aload 6
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.this$0:Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling;
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling.instructionsToProfile:[Ljava/lang/String;
invokespecial org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$InstructionCounterOp.<init>:(Lorg/graalvm/compiler/hotspot/HotSpotCounterOp;[Ljava/lang/String;)V
astore 7
start local 7 18: getstatic org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.$assertionsDisabled:Z
ifne 19
aload 7
ifnonnull 19
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
19: StackMap locals: org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.List java.lang.String[] java.lang.String[] jdk.vm.ci.meta.Value[] org.graalvm.compiler.hotspot.HotSpotCounterOp org.graalvm.compiler.lir.LIRInstruction
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
aload 2
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.init:(Ljava/util/List;)V
20: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
iconst_1
aload 7
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.append:(ILorg/graalvm/compiler/lir/LIRInstruction;)V
21: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer.buffer:Lorg/graalvm/compiler/lir/LIRInsertionBuffer;
invokevirtual org.graalvm.compiler.lir.LIRInsertionBuffer.finish:()V
22: 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 23 0 this Lorg/graalvm/compiler/hotspot/HotSpotInstructionProfiling$Analyzer;
0 23 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
1 23 2 instructions Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;
7 23 3 names [Ljava/lang/String;
8 23 4 groups [Ljava/lang/String;
9 23 5 increments [Ljdk/vm/ci/meta/Value;
10 16 6 i I
17 23 6 op Lorg/graalvm/compiler/hotspot/HotSpotCounterOp;
18 23 7 inst Lorg/graalvm/compiler/lir/LIRInstruction;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
block
}
SourceFile: "HotSpotInstructionProfiling.java"
NestHost: org.graalvm.compiler.hotspot.HotSpotInstructionProfiling
InnerClasses:
private Analyzer = org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$Analyzer of org.graalvm.compiler.hotspot.HotSpotInstructionProfiling
public InstructionCounterOp = org.graalvm.compiler.hotspot.HotSpotInstructionProfiling$InstructionCounterOp of org.graalvm.compiler.hotspot.HotSpotInstructionProfiling
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