# HG changeset patch # User Doug Simon # Date 1433538221 -7200 # Node ID aa5fa1190d6c3b728ec9836c2efcc739f428dde4 # Parent 70990d30ace3ce00a0049024795244224fef99dc count all type check hint misses not just the last one diff -r 70990d30ace3 -r aa5fa1190d6c graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/InstanceOfSnippets.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/InstanceOfSnippets.java Fri Jun 05 22:16:56 2015 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/InstanceOfSnippets.java Fri Jun 05 23:03:41 2015 +0200 @@ -93,8 +93,8 @@ hintsHit.inc(); return positive ? trueValue : falseValue; } + hintsMiss.inc(); } - hintsMiss.inc(); // This maybe just be a rare event but it might also indicate a phase change // in the application. Ideally we want to use DeoptimizationAction.None for // the former but the cost is too high if indeed it is the latter. As such,