Mercurial > hg > truffle
changeset 5115:c7d57d0d668a
bugfix
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Mon, 19 Mar 2012 14:54:46 -0700 |
parents | dad1ac9dba7d |
children | 312b18b9cc3a |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/ri/HotSpotMethodResolvedImpl.java |
diffstat | 1 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/ri/HotSpotMethodResolvedImpl.java Mon Mar 19 14:43:15 2012 -0700 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/ri/HotSpotMethodResolvedImpl.java Mon Mar 19 14:54:46 2012 -0700 @@ -280,16 +280,17 @@ TTY.println(" not recorded (%f)", typeProfile.getNotRecordedProbability()); } } + } - boolean firstDeoptReason = true; - for (RiDeoptReason reason: RiDeoptReason.values()) { - int count = profilingInfo.getDeoptimizationCount(reason); - if (count > 0) { - if (firstDeoptReason) { - TTY.println("Deopt Statistics"); - } - TTY.println(" %s: %d", reason.name(), count); + boolean firstDeoptReason = true; + for (RiDeoptReason reason: RiDeoptReason.values()) { + int count = profilingInfo.getDeoptimizationCount(reason); + if (count > 0) { + if (firstDeoptReason) { + TTY.println("Deopt History"); + firstDeoptReason = false; } + TTY.println(" %s: %d", reason.name(), count); } } }