public class StaticAnalysisResults extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StaticAnalysisResults.BytecodeEntry |
| Modifier and Type | Field and Description |
|---|---|
static StaticAnalysisResults |
NO_RESULTS |
| Constructor and Description |
|---|
StaticAnalysisResults(int codeSize,
JavaTypeProfile[] parameterTypeProfiles,
JavaTypeProfile resultTypeProfile,
StaticAnalysisResults.BytecodeEntry first) |
| Modifier and Type | Method and Description |
|---|---|
double |
getBranchTakenProbability(int bci) |
int |
getCodeSize() |
int |
getCompilerIRSize(Class<?> irType) |
int |
getDeoptimizationCount(DeoptimizationReason reason) |
TriState |
getExceptionSeen(int bci) |
int |
getExecutionCount(int bci) |
JavaMethodProfile |
getMethodProfile(int bci) |
TriState |
getNullSeen(int bci) |
JavaTypeProfile |
getParameterTypeProfile(int parameter)
Returns the type profile for the parameter with the given number, or
null if no type
profile is available. |
JavaTypeProfile |
getResultTypeProfile()
Returns the type profile for values returned by the method, or
null if no type
profile is available. |
JavaTypeProfile |
getStaticTypeProfile(int bci) |
double[] |
getSwitchProbabilities(int bci) |
JavaTypeProfile |
getTypeProfile(int bci) |
boolean |
isMature() |
boolean |
setCompilerIRSize(Class<?> irType,
int size) |
void |
setMature() |
public static final StaticAnalysisResults NO_RESULTS
public StaticAnalysisResults(int codeSize,
JavaTypeProfile[] parameterTypeProfiles,
JavaTypeProfile resultTypeProfile,
StaticAnalysisResults.BytecodeEntry first)
public JavaTypeProfile getParameterTypeProfile(int parameter)
null if no type
profile is available. For non-static methods, the receiver is the parameter with number 0.public JavaTypeProfile getResultTypeProfile()
null if no type
profile is available.public int getCodeSize()
public double getBranchTakenProbability(int bci)
public double[] getSwitchProbabilities(int bci)
public JavaTypeProfile getTypeProfile(int bci)
public JavaTypeProfile getStaticTypeProfile(int bci)
public JavaMethodProfile getMethodProfile(int bci)
public TriState getExceptionSeen(int bci)
public TriState getNullSeen(int bci)
public int getExecutionCount(int bci)
public int getDeoptimizationCount(DeoptimizationReason reason)
public boolean setCompilerIRSize(Class<?> irType, int size)
public int getCompilerIRSize(Class<?> irType)
public boolean isMature()
public void setMature()