class jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData extends jdk.vm.ci.hotspot.HotSpotMethodData$ArrayData
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData
super_class: jdk.vm.ci.hotspot.HotSpotMethodData$ArrayData
{
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 Ljdk/vm/ci/hotspot/HotSpotMethodData;
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 jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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.MULTI_BRANCH_DATA_SIZE:I
invokespecial jdk.vm.ci.hotspot.HotSpotMethodData$ArrayData.<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$MultiBranchData;
0 2 1 config Ljdk/vm/ci/hotspot/HotSpotVMConfig;
0 2 2 tag I
MethodParameters:
Name Flags
config
tag
public double[] getSwitchProbabilities(jdk.vm.ci.hotspot.HotSpotMethodData, int);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotMethodData;I)[D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.getLength:(Ljdk/vm/ci/hotspot/HotSpotMethodData;I)I
istore 3
start local 3 1: getstatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.$assertionsDisabled:Z
ifne 2
iload 3
ifgt 2
new java.lang.AssertionError
dup
ldc "switch must have at least the default case"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: int
StackMap stack:
getstatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.$assertionsDisabled:Z
ifne 3
iload 3
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.MULTI_BRANCH_DATA_ROW_SIZE_IN_CELLS:I
irem
ifeq 3
new java.lang.AssertionError
dup
ldc "array must have full rows"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
iload 3
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.MULTI_BRANCH_DATA_ROW_SIZE_IN_CELLS:I
idiv
istore 4
start local 4 4: lconst_0
lstore 5
start local 5 5: iload 4
newarray 7
astore 7
start local 7 6: aload 1
iload 2
iconst_0
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.readCount:(Ljdk/vm/ci/hotspot/HotSpotMethodData;II)J
lstore 8
start local 8 7: lload 5
lload 8
ladd
lstore 5
8: aload 7
iload 4
iconst_1
isub
lload 8
l2d
dastore
9: iconst_1
istore 10
start local 10 10: goto 15
11: StackMap locals: jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData jdk.vm.ci.hotspot.HotSpotMethodData int int int long double[] long int
StackMap stack:
aload 1
iload 2
iload 10
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.readCount:(Ljdk/vm/ci/hotspot/HotSpotMethodData;II)J
lstore 8
12: lload 5
lload 8
ladd
lstore 5
13: aload 7
iload 10
iconst_1
isub
lload 8
l2d
dastore
14: iinc 10 1
StackMap locals:
StackMap stack:
15: iload 10
iload 4
if_icmplt 11
end local 10 16: lload 5
lconst_0
lcmp
ifgt 18
17: aconst_null
areturn
18: StackMap locals:
StackMap stack:
iconst_0
istore 10
start local 10 19: goto 22
20: StackMap locals: int
StackMap stack:
aload 7
iload 10
aload 7
iload 10
daload
lload 5
l2d
ddiv
dastore
21: iinc 10 1
StackMap locals:
StackMap stack:
22: iload 10
iload 4
if_icmplt 20
end local 10 23: aload 7
areturn
end local 8 end local 7 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 24 0 this Ljdk/vm/ci/hotspot/HotSpotMethodData$MultiBranchData;
0 24 1 data Ljdk/vm/ci/hotspot/HotSpotMethodData;
0 24 2 position I
1 24 3 arrayLength I
4 24 4 length I
5 24 5 totalCount J
6 24 7 result [D
7 24 8 count J
10 16 10 i I
19 23 10 i I
MethodParameters:
Name Flags
data
position
private static long readCount(jdk.vm.ci.hotspot.HotSpotMethodData, int, int);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotMethodData;II)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.getCountOffset:(I)I
istore 3
start local 3 1: aload 0
iload 1
iload 3
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData.readUnsignedInt:(II)J
lstore 4
start local 4 2: lload 4
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 data Ljdk/vm/ci/hotspot/HotSpotMethodData;
0 3 1 position I
0 3 2 i I
1 3 3 offset I
2 3 4 count J
MethodParameters:
Name Flags
data
position
i
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=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.getLength:(Ljdk/vm/ci/hotspot/HotSpotMethodData;I)I
istore 3
start local 3 1: getstatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.$assertionsDisabled:Z
ifne 2
iload 3
ifgt 2
new java.lang.AssertionError
dup
ldc "switch must have at least the default case"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: int
StackMap stack:
getstatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.$assertionsDisabled:Z
ifne 3
iload 3
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.MULTI_BRANCH_DATA_ROW_SIZE_IN_CELLS:I
irem
ifeq 3
new java.lang.AssertionError
dup
ldc "array must have full rows"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
iload 3
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.MULTI_BRANCH_DATA_ROW_SIZE_IN_CELLS:I
idiv
istore 4
start local 4 4: lconst_0
lstore 5
start local 5 5: iconst_0
istore 7
start local 7 6: goto 10
7: StackMap locals: int long int
StackMap stack:
iload 7
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.getCountOffset:(I)I
istore 8
start local 8 8: lload 5
aload 1
iload 2
iload 8
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData.readUnsignedInt:(II)J
ladd
lstore 5
end local 8 9: iinc 7 1
StackMap locals:
StackMap stack:
10: iload 7
iload 4
if_icmplt 7
end local 7 11: lload 5
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData.truncateLongToInt:(J)I
ireturn
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 12 0 this Ljdk/vm/ci/hotspot/HotSpotMethodData$MultiBranchData;
0 12 1 data Ljdk/vm/ci/hotspot/HotSpotMethodData;
0 12 2 position I
1 12 3 arrayLength I
4 12 4 length I
5 12 5 totalCount J
6 11 7 i I
8 9 8 offset I
MethodParameters:
Name Flags
data
position
private static int getCountOffset(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic jdk.vm.ci.hotspot.HotSpotMethodData.MULTI_BRANCH_DATA_FIRST_COUNT_OFFSET:I
iload 0
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.MULTI_BRANCH_DATA_ROW_SIZE:I
imul
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 index I
MethodParameters:
Name Flags
index
private static int getDisplacementOffset(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic jdk.vm.ci.hotspot.HotSpotMethodData.MULTI_BRANCH_DATA_FIRST_DISPLACEMENT_OFFSET:I
iload 0
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.MULTI_BRANCH_DATA_ROW_SIZE:I
imul
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 index I
MethodParameters:
Name Flags
index
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=8, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
iload 3
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.getLength:(Ljdk/vm/ci/hotspot/HotSpotMethodData;I)I
getstatic jdk.vm.ci.hotspot.HotSpotMethodData.MULTI_BRANCH_DATA_ROW_SIZE_IN_CELLS:I
idiv
istore 4
start local 4 1: aload 1
ldc "entries(%d)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 4
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;
pop
2: iconst_0
istore 5
start local 5 3: goto 6
4: StackMap locals: int int
StackMap stack:
aload 1
ldc "%n %d: count(%d) displacement(%d)"
iconst_3
anewarray java.lang.Object
dup
iconst_0
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 2
iload 3
iload 5
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.getCountOffset:(I)I
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData.readUnsignedInt:(II)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 2
iload 3
iload 5
invokestatic jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData.getDisplacementOffset:(I)I
invokevirtual jdk.vm.ci.hotspot.HotSpotMethodData.readUnsignedInt:(II)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
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;
pop
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 4
if_icmplt 4
end local 5 7: aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/vm/ci/hotspot/HotSpotMethodData$MultiBranchData;
0 8 1 sb Ljava/lang/StringBuilder;
0 8 2 data Ljdk/vm/ci/hotspot/HotSpotMethodData;
0 8 3 pos I
1 8 4 entries I
3 7 5 i I
MethodParameters:
Name Flags
sb
data
pos
}
SourceFile: "HotSpotMethodData.java"
NestHost: jdk.vm.ci.hotspot.HotSpotMethodData
InnerClasses:
ArrayData = jdk.vm.ci.hotspot.HotSpotMethodData$ArrayData of jdk.vm.ci.hotspot.HotSpotMethodData
MultiBranchData = jdk.vm.ci.hotspot.HotSpotMethodData$MultiBranchData of jdk.vm.ci.hotspot.HotSpotMethodData