Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerDirectives.java @ 14906:f3a5036cc13c
javadoc fixes
javadoc has become stricter in jdk8
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Mon, 31 Mar 2014 20:51:09 +0200 |
parents | 73546bd550f0 |
children | 64dcb92ee75a |
comparison
equal
deleted
inserted
replaced
14905:b7afc71535d3 | 14906:f3a5036cc13c |
---|---|
112 * | 112 * |
113 * Example usage immediately before an if statement (it specifies that the likelihood for a to | 113 * Example usage immediately before an if statement (it specifies that the likelihood for a to |
114 * be greater than b is 90%): | 114 * be greater than b is 90%): |
115 * | 115 * |
116 * <code> | 116 * <code> |
117 * if (injectBranchProbability(0.9, a > b)) { | 117 * if (injectBranchProbability(0.9, a > b)) { |
118 * // ... | 118 * // ... |
119 * } | 119 * } |
120 * </code> | 120 * </code> |
121 * | 121 * |
122 * Example usage for a combined condition (it specifies that the likelihood for a to be greater | 122 * Example usage for a combined condition (it specifies that the likelihood for a to be greater |
123 * than b is 90% and under the assumption that this is true, the likelihood for a being 0 is | 123 * than b is 90% and under the assumption that this is true, the likelihood for a being 0 is |
124 * 10%): | 124 * 10%): |
125 * | 125 * |
126 * <code> | 126 * <code> |
127 * if (injectBranchProbability(0.9, a > b) && injectBranchProbability(0.1, a == 0)) { | 127 * if (injectBranchProbability(0.9, a > b) && injectBranchProbability(0.1, a == 0)) { |
128 * // ... | 128 * // ... |
129 * } | 129 * } |
130 * </code> | 130 * </code> |
131 * | 131 * |
132 * There are predefined constants for commonly used probabilities (see | 132 * There are predefined constants for commonly used probabilities (see |