private static class HotSpotMethodData.MultiBranchData extends HotSpotMethodData.ArrayData
HotSpotMethodDataAccessor.Tag
Modifier and Type | Field and Description |
---|---|
private static int |
MULTI_BRANCH_DATA_FIRST_COUNT_OFFSET |
private static int |
MULTI_BRANCH_DATA_FIRST_DISPLACEMENT_OFFSET |
private static int |
MULTI_BRANCH_DATA_ROW_SIZE |
private static int |
MULTI_BRANCH_DATA_ROW_SIZE_IN_CELLS |
private static int |
MULTI_BRANCH_DATA_SIZE |
ARRAY_DATA_START_OFFSET
Constructor and Description |
---|
MultiBranchData() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
appendTo(StringBuilder sb,
HotSpotMethodData data,
int pos) |
private static int |
getCountOffset(int index) |
private static int |
getDisplacementOffset(int index) |
int |
getExecutionCount(HotSpotMethodData data,
int position) |
double[] |
getSwitchProbabilities(HotSpotMethodData data,
int position) |
private static long |
readCount(HotSpotMethodData data,
int position,
int i) |
getDynamicSize, getLength
getBCI, getBranchTakenProbability, getExceptionSeen, getFlags, getMethodProfile, getNullSeen, getSize, getTag, getTypeProfile, readTag
private static final int MULTI_BRANCH_DATA_SIZE
private static final int MULTI_BRANCH_DATA_ROW_SIZE_IN_CELLS
private static final int MULTI_BRANCH_DATA_ROW_SIZE
private static final int MULTI_BRANCH_DATA_FIRST_COUNT_OFFSET
private static final int MULTI_BRANCH_DATA_FIRST_DISPLACEMENT_OFFSET
public MultiBranchData()
public double[] getSwitchProbabilities(HotSpotMethodData data, int position)
getSwitchProbabilities
in interface HotSpotMethodDataAccessor
getSwitchProbabilities
in class HotSpotMethodData.AbstractMethodData
private static long readCount(HotSpotMethodData data, int position, int i)
public int getExecutionCount(HotSpotMethodData data, int position)
getExecutionCount
in interface HotSpotMethodDataAccessor
getExecutionCount
in class HotSpotMethodData.AbstractMethodData
private static int getCountOffset(int index)
private static int getDisplacementOffset(int index)
public StringBuilder appendTo(StringBuilder sb, HotSpotMethodData data, int pos)
appendTo
in interface HotSpotMethodDataAccessor
appendTo
in class HotSpotMethodData.ArrayData