class jdk.vm.ci.hotspot.HotSpotMethodData$BranchData extends jdk.vm.ci.hotspot.HotSpotMethodData$JumpData
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.vm.ci.hotspot.HotSpotMethodData$BranchData
super_class: jdk.vm.ci.hotspot.HotSpotMethodData$JumpData
{
void <init>(jdk.vm.ci.hotspot.HotSpotVMConfig, int);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotVMConfig;I)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.BRANCH_DATA_SIZE:I
invokespecial jdk.vm.ci.hotspot.HotSpotMethodData$JumpData.<init>:(Ljdk/vm/ci/hotspot/HotSpotVMConfig;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/vm/ci/hotspot/HotSpotMethodData$BranchData;
0 2 1 config Ljdk/vm/ci/hotspot/HotSpotVMConfig;
0 2 2 tag I
MethodParameters:
Name Flags
config
tag
public double getBranchTakenProbability(jdk.vm.ci.hotspot.HotSpotMethodData, int);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotMethodData;I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.TAKEN_COUNT_OFFSET:I
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData.readUnsignedInt:(II)J
lstore 3
start local 3 1: aload 1
iload 2
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.NOT_TAKEN_COUNT_OFFSET:I
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData.readUnsignedInt:(II)J
lstore 5
start local 5 2: lload 3
lload 5
ladd
lstore 7
start local 7 3: lload 7
lconst_0
lcmp
ifgt 4
ldc -1.0
goto 5
StackMap locals: long long long
StackMap stack:
4: lload 3
l2d
lload 7
l2d
ddiv
StackMap locals:
StackMap stack: double
5: dreturn
end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/vm/ci/hotspot/HotSpotMethodData$BranchData;
0 6 1 data Ljdk/vm/ci/hotspot/HotSpotMethodData;
0 6 2 position I
1 6 3 takenCount J
2 6 5 notTakenCount J
3 6 7 total J
MethodParameters:
Name Flags
data
position
public int getExecutionCount(jdk.vm.ci.hotspot.HotSpotMethodData, int);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotMethodData;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.TAKEN_COUNT_OFFSET:I
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData.readUnsignedInt:(II)J
aload 1
iload 2
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.NOT_TAKEN_COUNT_OFFSET:I
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData.readUnsignedInt:(II)J
ladd
lstore 3
start local 3 1: lload 3
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData.truncateLongToInt:(J)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/vm/ci/hotspot/HotSpotMethodData$BranchData;
0 2 1 data Ljdk/vm/ci/hotspot/HotSpotMethodData;
0 2 2 position I
1 2 3 count J
MethodParameters:
Name Flags
data
position
public java.lang.StringBuilder appendTo(java.lang.StringBuilder, jdk.vm.ci.hotspot.HotSpotMethodData, int);
descriptor: (Ljava/lang/StringBuilder;Ljdk/vm/ci/hotspot/HotSpotMethodData;I)Ljava/lang/StringBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
iload 3
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.TAKEN_COUNT_OFFSET:I
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData.readUnsignedInt:(II)J
lstore 4
start local 4 1: aload 2
iload 3
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.NOT_TAKEN_COUNT_OFFSET:I
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData.readUnsignedInt:(II)J
lstore 6
start local 6 2: aload 0
aload 2
iload 3
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData$BranchData.getBranchTakenProbability:(Ljdk/vm/ci/hotspot/HotSpotMethodData;I)D
dstore 8
start local 8 3: aload 1
ldc "taken(%d, %4.2f) not_taken(%d, %4.2f) displacement(%d)"
iconst_5
anewarray java.lang.Object
dup
iconst_0
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
dload 8
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_2
lload 6
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
dconst_1
dload 8
dsub
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_4
aload 0
aload 2
iload 3
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData$BranchData.getTakenDisplacement:(Ljdk/vm/ci/hotspot/HotSpotMethodData;I)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
end local 8 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/vm/ci/hotspot/HotSpotMethodData$BranchData;
0 4 1 sb Ljava/lang/StringBuilder;
0 4 2 data Ljdk/vm/ci/hotspot/HotSpotMethodData;
0 4 3 pos I
1 4 4 taken J
2 4 6 notTaken J
3 4 8 takenProbability D
MethodParameters:
Name Flags
sb
data
pos
}
SourceFile: "HotSpotMethodData.java"
NestHost: jdk.vm.ci.hotspot.HotSpotMethodData
InnerClasses:
BranchData = jdk.vm.ci.hotspot.HotSpotMethodData$BranchData of jdk.vm.ci.hotspot.HotSpotMethodData
JumpData = jdk.vm.ci.hotspot.HotSpotMethodData$JumpData of jdk.vm.ci.hotspot.HotSpotMethodData