private abstract static class HotSpotMethodData.AbstractMethodData extends Object implements HotSpotMethodDataAccessor
HotSpotMethodDataAccessor.Tag
Modifier and Type | Field and Description |
---|---|
private static int |
EXCEPTIONS_MASK
Corresponds to
exception_seen_flag . |
private int |
staticSize |
private HotSpotMethodDataAccessor.Tag |
tag |
Modifier | Constructor and Description |
---|---|
protected |
AbstractMethodData(HotSpotMethodDataAccessor.Tag tag,
int staticSize) |
private static final int EXCEPTIONS_MASK
exception_seen_flag
.private final HotSpotMethodDataAccessor.Tag tag
private final int staticSize
protected AbstractMethodData(HotSpotMethodDataAccessor.Tag tag, int staticSize)
public HotSpotMethodDataAccessor.Tag getTag()
HotSpotMethodDataAccessor
HotSpotMethodDataAccessor.Tag
stored in the LayoutData header.getTag
in interface HotSpotMethodDataAccessor
public static HotSpotMethodDataAccessor.Tag readTag(HotSpotMethodData data, int position)
public int getBCI(HotSpotMethodData data, int position)
HotSpotMethodDataAccessor
getBCI
in interface HotSpotMethodDataAccessor
public int getSize(HotSpotMethodData data, int position)
HotSpotMethodDataAccessor
getSize
in interface HotSpotMethodDataAccessor
public TriState getExceptionSeen(HotSpotMethodData data, int position)
getExceptionSeen
in interface HotSpotMethodDataAccessor
public JavaTypeProfile getTypeProfile(HotSpotMethodData data, int position)
getTypeProfile
in interface HotSpotMethodDataAccessor
public JavaMethodProfile getMethodProfile(HotSpotMethodData data, int position)
getMethodProfile
in interface HotSpotMethodDataAccessor
public double getBranchTakenProbability(HotSpotMethodData data, int position)
getBranchTakenProbability
in interface HotSpotMethodDataAccessor
public double[] getSwitchProbabilities(HotSpotMethodData data, int position)
getSwitchProbabilities
in interface HotSpotMethodDataAccessor
public int getExecutionCount(HotSpotMethodData data, int position)
getExecutionCount
in interface HotSpotMethodDataAccessor
public TriState getNullSeen(HotSpotMethodData data, int position)
getNullSeen
in interface HotSpotMethodDataAccessor
protected int getFlags(HotSpotMethodData data, int position)
protected int getDynamicSize(HotSpotMethodData data, int position)
data
- position
- public abstract StringBuilder appendTo(StringBuilder sb, HotSpotMethodData data, int pos)
appendTo
in interface HotSpotMethodDataAccessor