Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.phases/src/com/oracle/graal/phases/GraalOptions.java @ 10069:abb9d3a26025
an instanceof instruction lowers to a deoptimize-on-hint-miss snippet only if its profile indicates a miss (of a hint type) occurs an order of magnitude less than the compilation threshold
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 17 Jun 2013 17:55:19 +0200 |
parents | 30499c84823d |
children | 3e34b0318de6 |
comparison
equal
deleted
inserted
replaced
10068:529570e20aff | 10069:abb9d3a26025 |
---|---|
341 * profiling information is available. Note that {@link #InstanceOfMinHintHitProbability} | 341 * profiling information is available. Note that {@link #InstanceOfMinHintHitProbability} |
342 * also influences whether hints are used. | 342 * also influences whether hints are used. |
343 */ | 343 */ |
344 @Option(help = "") | 344 @Option(help = "") |
345 public static final OptionValue<Integer> InstanceOfMaxHints = new OptionValue<>(2); | 345 public static final OptionValue<Integer> InstanceOfMaxHints = new OptionValue<>(2); |
346 | |
347 /** | |
348 * If the probability that an instanceof will hit one the profiled types (up to {@link #InstanceOfMaxHints}) | |
349 * is above this value, the compiled instanceof will deoptimize if all hints are missed. | |
350 */ | |
351 @Option(help = "") | |
352 public static final OptionValue<Double> InstanceOfFullCoverageSpeculationThreshold = new OptionValue<>(0.998); | |
353 | |
354 } | 346 } |