comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiProfilingInfo.java @ 4457:5acf4a974e4a

fixed framestate for inlining multiple methods
author Christian Haeubl <christian.haeubl@oracle.com>
date Tue, 31 Jan 2012 17:09:11 -0800
parents 9e8e92c3ff17
children a0cca63cd366
comparison
equal deleted inserted replaced
4456:f4c82dd4619e 4457:5acf4a974e4a
48 * @return Returns an RiTypeProfile object, or null if not available. 48 * @return Returns an RiTypeProfile object, or null if not available.
49 */ 49 */
50 RiTypeProfile getTypeProfile(int bci); 50 RiTypeProfile getTypeProfile(int bci);
51 51
52 /** 52 /**
53 * Returns true if the given BCI did throw an implicit exception (NullPointerException, ClassCastException, 53 * Returns true if the instruction at least once an exception was thrown at the given BCI.
54 * ArrayStoreException, or ArithmeticException) during profiling. 54 * @return true if an exception was encountered during profiling, false otherwise.
55 * @return true if any of the exceptions was encountered during profiling, false otherwise.
56 */ 55 */
57 boolean getImplicitExceptionSeen(int bci); 56 boolean getExceptionSeen(int bci);
58 57
59 /** 58 /**
60 * Returns an estimate how often the current BCI was executed. Avoid comparing execution counts to each other, 59 * Returns an estimate how often the current BCI was executed. Avoid comparing execution counts to each other,
61 * as the returned value highly depends on the time of invocation. 60 * as the returned value highly depends on the time of invocation.
62 * @return the estimated execution count or -1 if not available. 61 * @return the estimated execution count or -1 if not available.