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