Mercurial > hg > truffle
comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiProfilingInfo.java @ 5130:ab038e0d6b43
Merge
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 21 Mar 2012 11:28:22 +0100 |
parents | dad1ac9dba7d |
children | 4c3d953f8131 |
comparison
equal
deleted
inserted
replaced
5129:51111665eda6 | 5130:ab038e0d6b43 |
---|---|
62 * Returns an estimate how often the current BCI was executed. Avoid comparing execution counts to each other, | 62 * Returns an estimate how often the current BCI was executed. Avoid comparing execution counts to each other, |
63 * as the returned value highly depends on the time of invocation. | 63 * as the returned value highly depends on the time of invocation. |
64 * @return the estimated execution count or -1 if not available. | 64 * @return the estimated execution count or -1 if not available. |
65 */ | 65 */ |
66 int getExecutionCount(int bci); | 66 int getExecutionCount(int bci); |
67 | |
68 /** | |
69 * Returns how frequently a method was deoptimized for the given deoptimization reason. This only indicates how | |
70 * often the method did fall back to the interpreter for the execution and does not indicate how often it was recompiled. | |
71 * @param reason the reason for which the number of deoptimizations should be queried | |
72 * @return the number of times the compiled method deoptimized for the given reason. | |
73 */ | |
74 int getDeoptimizationCount(RiDeoptReason reason); | |
67 } | 75 } |