public class org.graalvm.compiler.nodes.debug.DynamicCounterNode extends org.graalvm.compiler.nodes.FixedWithNextNode implements org.graalvm.compiler.nodes.spi.LIRLowerable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.nodes.debug.DynamicCounterNode
super_class: org.graalvm.compiler.nodes.FixedWithNextNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.nodes.debug.DynamicCounterNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/nodes/debug/DynamicCounterNode;>;
org.graalvm.compiler.nodes.ValueNode increment;
descriptor: Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0000)
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$Input()
protected final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String group;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean withContext;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/nodes/debug/DynamicCounterNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.String, org.graalvm.compiler.nodes.ValueNode, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/compiler/nodes/ValueNode;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
aload 1
aload 2
aload 3
iload 4
invokespecial org.graalvm.compiler.nodes.debug.DynamicCounterNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/compiler/nodes/ValueNode;Z)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/nodes/debug/DynamicCounterNode;
0 2 1 name Ljava/lang/String;
0 2 2 group Ljava/lang/String;
0 2 3 increment Lorg/graalvm/compiler/nodes/ValueNode;
0 2 4 withContext Z
MethodParameters:
Name Flags
name
group
increment
withContext
protected void <init>(org.graalvm.compiler.graph.NodeClass<? extends org.graalvm.compiler.nodes.debug.DynamicCounterNode>, java.lang.String, java.lang.String, org.graalvm.compiler.nodes.ValueNode, );
descriptor: (Lorg/graalvm/compiler/graph/NodeClass;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/compiler/nodes/ValueNode;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forVoid:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokespecial org.graalvm.compiler.nodes.FixedWithNextNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/Stamp;)V
1: aload 0
aload 2
putfield org.graalvm.compiler.nodes.debug.DynamicCounterNode.name:Ljava/lang/String;
2: aload 0
aload 3
putfield org.graalvm.compiler.nodes.debug.DynamicCounterNode.group:Ljava/lang/String;
3: aload 0
aload 4
putfield org.graalvm.compiler.nodes.debug.DynamicCounterNode.increment:Lorg/graalvm/compiler/nodes/ValueNode;
4: aload 0
iload 5
putfield org.graalvm.compiler.nodes.debug.DynamicCounterNode.withContext:Z
5: return
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 6 0 this Lorg/graalvm/compiler/nodes/debug/DynamicCounterNode;
0 6 1 c Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/nodes/debug/DynamicCounterNode;>;
0 6 2 name Ljava/lang/String;
0 6 3 group Ljava/lang/String;
0 6 4 increment Lorg/graalvm/compiler/nodes/ValueNode;
0 6 5 withContext Z
Signature: (Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/nodes/debug/DynamicCounterNode;>;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/compiler/nodes/ValueNode;Z)V
MethodParameters:
Name Flags
c
name
group
increment
withContext
public org.graalvm.compiler.nodes.ValueNode getIncrement();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.debug.DynamicCounterNode.increment:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/debug/DynamicCounterNode;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.debug.DynamicCounterNode.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/debug/DynamicCounterNode;
public java.lang.String getGroup();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.debug.DynamicCounterNode.group:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/debug/DynamicCounterNode;
public boolean isWithContext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.debug.DynamicCounterNode.withContext:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/debug/DynamicCounterNode;
public static void addCounterBefore(java.lang.String, java.lang.String, long, boolean, org.graalvm.compiler.nodes.FixedNode);
descriptor: (Ljava/lang/String;Ljava/lang/String;JZLorg/graalvm/compiler/nodes/FixedNode;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 5 0: aload 5
invokevirtual org.graalvm.compiler.nodes.FixedNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 6
start local 6 1: aload 6
aload 5
aload 5
invokevirtual org.graalvm.compiler.nodes.FixedNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
new org.graalvm.compiler.nodes.debug.DynamicCounterNode
dup
aload 1
aload 0
lload 2
aload 5
invokevirtual org.graalvm.compiler.nodes.FixedNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.nodes.ConstantNode.forLong:(JLorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
iload 4
invokespecial org.graalvm.compiler.nodes.debug.DynamicCounterNode.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/compiler/nodes/ValueNode;Z)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
2: return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 group Ljava/lang/String;
0 3 1 name Ljava/lang/String;
0 3 2 increment J
0 3 4 withContext Z
0 3 5 position Lorg/graalvm/compiler/nodes/FixedNode;
1 3 6 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
group
name
increment
withContext
position
public static native void counter(java.lang.String, java.lang.String, long, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;JZ)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
2:
3:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
MethodParameters:
Name Flags
name
group
increment
addContext
public void generate(org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getLIRGeneratorTool:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
astore 2
start local 2 1: aload 0
invokevirtual org.graalvm.compiler.nodes.debug.DynamicCounterNode.isWithContext:()Z
ifeq 12
2: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.graalvm.compiler.nodes.debug.DynamicCounterNode.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " @ "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 3: aload 0
invokevirtual org.graalvm.compiler.nodes.debug.DynamicCounterNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
ifnull 9
4: aload 0
invokevirtual org.graalvm.compiler.nodes.debug.DynamicCounterNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
iconst_0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 4
start local 4 5: aload 4
ifnull 8
6: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StackTraceElement.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
7: goto 9
8: StackMap locals: org.graalvm.compiler.lir.gen.LIRGeneratorTool java.lang.String java.lang.StackTraceElement
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.graalvm.compiler.nodes.debug.DynamicCounterNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc "%h.%n"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 4 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.debug.DynamicCounterNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
getfield org.graalvm.compiler.nodes.StructuredGraph.name:Ljava/lang/String;
ifnull 13
10: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.graalvm.compiler.nodes.debug.DynamicCounterNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
getfield org.graalvm.compiler.nodes.StructuredGraph.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
11: goto 13
end local 3 12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.debug.DynamicCounterNode.getName:()Ljava/lang/String;
astore 3
start local 3 13: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 3
aload 0
invokevirtual org.graalvm.compiler.nodes.debug.DynamicCounterNode.getGroup:()Ljava/lang/String;
aload 1
aload 0
getfield org.graalvm.compiler.nodes.debug.DynamicCounterNode.increment:Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.operand:(Lorg/graalvm/compiler/graph/Node;)Ljdk/vm/ci/meta/Value;
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.createBenchmarkCounter:(Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/LIRInstruction;
astore 4
start local 4 14: aload 4
ifnull 17
15: aload 2
aload 4
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.append:(Lorg/graalvm/compiler/lir/LIRInstruction;)Lorg/graalvm/compiler/lir/LIRInstruction;
pop
16: goto 18
17: StackMap locals: org.graalvm.compiler.lir.LIRInstruction
StackMap stack:
ldc "Benchmark counters not enabled or not implemented by the back end."
invokestatic org.graalvm.compiler.debug.GraalError.unimplemented:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
18: StackMap locals:
StackMap stack:
return
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/nodes/debug/DynamicCounterNode;
0 19 1 generator Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
1 19 2 lirGen Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
3 12 3 nameWithContext Ljava/lang/String;
13 19 3 nameWithContext Ljava/lang/String;
5 9 4 stackTraceElement Ljava/lang/StackTraceElement;
14 19 4 counterOp Lorg/graalvm/compiler/lir/LIRInstruction;
MethodParameters:
Name Flags
generator
}
SourceFile: "DynamicCounterNode.java"
InnerClasses:
public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
public abstract Input = org.graalvm.compiler.graph.Node$Input of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(size = org.graalvm.compiler.nodeinfo.NodeSize.SIZE_10:Lorg/graalvm/compiler/nodeinfo/NodeSize;, cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_20:Lorg/graalvm/compiler/nodeinfo/NodeCycles;)