Mercurial > hg > graal-compiler
changeset 21754:aa5fa1190d6c
count all type check hint misses not just the last one
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 05 Jun 2015 23:03:41 +0200 |
parents | 70990d30ace3 |
children | c052d68e7eac |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/InstanceOfSnippets.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,