private abstract static class HotSpotMethodData.AbstractTypeData extends HotSpotMethodData.CounterData
HotSpotMethodDataAccessor.Tag
Modifier and Type | Field and Description |
---|---|
protected static int |
NONPROFILED_COUNT_OFFSET |
protected static int |
TYPE_DATA_FIRST_TYPE_COUNT_OFFSET |
protected static int |
TYPE_DATA_FIRST_TYPE_OFFSET |
protected static int |
TYPE_DATA_ROW_SIZE |
Modifier | Constructor and Description |
---|---|
protected |
AbstractTypeData(HotSpotMethodDataAccessor.Tag tag,
int staticSize) |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
appendTo(StringBuilder sb,
HotSpotMethodData data,
int pos) |
private static JavaTypeProfile |
createTypeProfile(TriState nullSeen,
HotSpotMethodData.RawItemProfile<ResolvedJavaType> profile) |
private HotSpotMethodData.RawItemProfile<ResolvedJavaType> |
getRawTypeProfile(HotSpotMethodData data,
int position) |
protected static int |
getTypeCountOffset(int row) |
private static int |
getTypeOffset(int row) |
JavaTypeProfile |
getTypeProfile(HotSpotMethodData data,
int position) |
protected abstract long |
getTypesNotRecordedExecutionCount(HotSpotMethodData data,
int position) |
getCounterValue, getExecutionCount
getNullSeen
getBCI, getBranchTakenProbability, getDynamicSize, getExceptionSeen, getFlags, getMethodProfile, getSize, getSwitchProbabilities, getTag, readTag
protected static final int TYPE_DATA_ROW_SIZE
protected static final int NONPROFILED_COUNT_OFFSET
protected static final int TYPE_DATA_FIRST_TYPE_OFFSET
protected static final int TYPE_DATA_FIRST_TYPE_COUNT_OFFSET
protected AbstractTypeData(HotSpotMethodDataAccessor.Tag tag, int staticSize)
public JavaTypeProfile getTypeProfile(HotSpotMethodData data, int position)
getTypeProfile
in interface HotSpotMethodDataAccessor
getTypeProfile
in class HotSpotMethodData.AbstractMethodData
private HotSpotMethodData.RawItemProfile<ResolvedJavaType> getRawTypeProfile(HotSpotMethodData data, int position)
protected abstract long getTypesNotRecordedExecutionCount(HotSpotMethodData data, int position)
private static JavaTypeProfile createTypeProfile(TriState nullSeen, HotSpotMethodData.RawItemProfile<ResolvedJavaType> profile)
private static int getTypeOffset(int row)
protected static int getTypeCountOffset(int row)
public StringBuilder appendTo(StringBuilder sb, HotSpotMethodData data, int pos)
appendTo
in interface HotSpotMethodDataAccessor
appendTo
in class HotSpotMethodData.CounterData