public class org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets implements org.graalvm.compiler.replacements.Snippets
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/profiling/ProfileSnippets;
public static native void methodInvocationEvent(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.MethodCountersPointer);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
MethodParameters:
Name Flags
descriptor
counters
public static void profileMethodEntry(org.graalvm.compiler.hotspot.word.MethodCountersPointer, int);
descriptor: (Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.invocationCounterOffset:I
invokevirtual org.graalvm.compiler.hotspot.word.MethodCountersPointer.readInt:(I)I
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.invocationCounterIncrement:I
iadd
istore 2
start local 2 1: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.invocationCounterOffset:I
iload 2
invokevirtual org.graalvm.compiler.hotspot.word.MethodCountersPointer.writeInt:(II)V
2: iload 1
iflt 8
3: iconst_1
iload 1
ishl
iconst_1
isub
istore 3
start local 3 4: ldc 0.010000000000000009
iload 2
iload 3
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.invocationCounterShift:I
ishl
iand
ifne 5
iconst_1
goto 6
StackMap locals: org.graalvm.compiler.hotspot.word.MethodCountersPointer int int int
StackMap stack: double
5: iconst_0
StackMap locals: org.graalvm.compiler.hotspot.word.MethodCountersPointer int int int
StackMap stack: double int
6: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 8
7: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.INVOCATION_EVENT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets.methodInvocationEvent:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;)V
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 counters Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;
0 9 1 freqLog I
1 9 2 counterValue I
4 8 3 frequencyMask I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
counters
freqLog
public static native void methodBackedgeEvent(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.MethodCountersPointer, int, int);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;II)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
3:
MethodParameters:
Name Flags
descriptor
counters
bci
targetBci
public static void profileBackedge(org.graalvm.compiler.hotspot.word.MethodCountersPointer, int, int, int);
descriptor: (Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;III)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.backedgeCounterOffset:I
invokevirtual org.graalvm.compiler.hotspot.word.MethodCountersPointer.readInt:(I)I
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.invocationCounterIncrement:I
iadd
istore 4
start local 4 1: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.backedgeCounterOffset:I
iload 4
invokevirtual org.graalvm.compiler.hotspot.word.MethodCountersPointer.writeInt:(II)V
2: iconst_1
iload 1
ishl
iconst_1
isub
istore 5
start local 5 3: ldc 0.010000000000000009
iload 4
iload 5
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.invocationCounterShift:I
ishl
iand
ifne 4
iconst_1
goto 5
StackMap locals: org.graalvm.compiler.hotspot.word.MethodCountersPointer int int int int int
StackMap stack: double
4: iconst_0
StackMap locals: org.graalvm.compiler.hotspot.word.MethodCountersPointer int int int int int
StackMap stack: double int
5: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 7
6: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.BACKEDGE_EVENT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
iload 2
iload 3
invokestatic org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets.methodBackedgeEvent:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;II)V
7: StackMap locals:
StackMap stack:
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 8 0 counters Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;
0 8 1 freqLog I
0 8 2 bci I
0 8 3 targetBci I
1 8 4 counterValue I
3 8 5 frequencyMask I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
2:
3:
MethodParameters:
Name Flags
counters
freqLog
bci
targetBci
public static void profileConditionalBackedge(org.graalvm.compiler.hotspot.word.MethodCountersPointer, int, boolean, int, int);
descriptor: (Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;IZII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
ifeq 2
1: aload 0
iload 1
iload 3
iload 4
invokestatic org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets.profileBackedge:(Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;III)V
2: 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 3 0 counters Lorg/graalvm/compiler/hotspot/word/MethodCountersPointer;
0 3 1 freqLog I
0 3 2 branchCondition Z
0 3 3 bci I
0 3 4 targetBci I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
2:
3:
4:
MethodParameters:
Name Flags
counters
freqLog
branchCondition
bci
targetBci
}
SourceFile: "ProfileSnippets.java"
NestMembers:
org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets$Templates
InnerClasses:
public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
public Templates = org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets$Templates of org.graalvm.compiler.hotspot.replacements.profiling.ProfileSnippets