private static class HotSpotMethodData.BranchData extends HotSpotMethodData.JumpData
HotSpotMethodDataAccessor.Tag
Modifier and Type | Field and Description |
---|---|
private static int |
BRANCH_DATA_SIZE |
private static int |
NOT_TAKEN_COUNT_OFFSET |
TAKEN_COUNT_OFFSET, TAKEN_DISPLACEMENT_OFFSET
Constructor and Description |
---|
BranchData() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
appendTo(StringBuilder sb,
HotSpotMethodData data,
int pos) |
double |
getBranchTakenProbability(HotSpotMethodData data,
int position) |
int |
getExecutionCount(HotSpotMethodData data,
int position) |
getTakenDisplacement
getBCI, getDynamicSize, getExceptionSeen, getFlags, getMethodProfile, getNullSeen, getSize, getSwitchProbabilities, getTag, getTypeProfile, readTag
private static final int BRANCH_DATA_SIZE
private static final int NOT_TAKEN_COUNT_OFFSET
public BranchData()
public double getBranchTakenProbability(HotSpotMethodData data, int position)
getBranchTakenProbability
in interface HotSpotMethodDataAccessor
getBranchTakenProbability
in class HotSpotMethodData.JumpData
public int getExecutionCount(HotSpotMethodData data, int position)
getExecutionCount
in interface HotSpotMethodDataAccessor
getExecutionCount
in class HotSpotMethodData.JumpData
public StringBuilder appendTo(StringBuilder sb, HotSpotMethodData data, int pos)
appendTo
in interface HotSpotMethodDataAccessor
appendTo
in class HotSpotMethodData.JumpData