src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java	Fri Sep 16 12:22:56 2011
--- new/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java	Fri Sep 16 12:22:56 2011

*** 124,134 **** --- 124,133 ---- out.printf(" %6.4f\n", c.getElapsedTime()); attempts[c.getAttempts()]++; maxattempts = Math.max(maxattempts,c.getAttempts()); elapsed += c.getElapsedTime(); for (Phase phase : c.getPhases()) { out.printf("\t%s %6.4f\n", phase.getName(), phase.getElapsedTime()); Double v = phaseTime.get(phase.getName()); if (v == null) { v = Double.valueOf(0.0); } phaseTime.put(phase.getName(), Double.valueOf(v.doubleValue() + phase.getElapsedTime()));
*** 136,145 **** --- 135,145 ---- Integer v2 = phaseNodes.get(phase.getName()); if (v2 == null) { v2 = Integer.valueOf(0); } phaseNodes.put(phase.getName(), Integer.valueOf(v2.intValue() + phase.getNodes())); + out.printf("\t%s %6.4f %d %d\n", phase.getName(), phase.getElapsedTime(), phase.getStartNodes(), phase.getNodes()); } } else if (e instanceof MakeNotEntrantEvent) { MakeNotEntrantEvent mne = (MakeNotEntrantEvent) e; NMethod nm = mne.getNMethod(); if (mne.isZombie()) {

src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File