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 7092905 Cdiff src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java

src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java

Print this page

        

*** 41,51 **** System.out.println(" -c: clean up malformed 1.5 xml"); System.out.println(" -i: print inlining decisions"); System.out.println(" -S: print compilation statistics"); System.out.println(" -s: sort events by start time"); System.out.println(" -e: sort events by elapsed time"); ! System.out.println(" -N: sort events by name and start"); System.exit(exitcode); } public static void main(String[] args) throws Exception { Comparator<LogEvent> defaultSort = LogParser.sortByStart; --- 41,51 ---- System.out.println(" -c: clean up malformed 1.5 xml"); System.out.println(" -i: print inlining decisions"); System.out.println(" -S: print compilation statistics"); System.out.println(" -s: sort events by start time"); System.out.println(" -e: sort events by elapsed time"); ! System.out.println(" -n: sort events by name and start"); System.exit(exitcode); } public static void main(String[] args) throws Exception { Comparator<LogEvent> defaultSort = LogParser.sortByStart;
*** 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()) { --- 135,149 ---- Integer v2 = phaseNodes.get(phase.getName()); if (v2 == null) { v2 = Integer.valueOf(0); } phaseNodes.put(phase.getName(), Integer.valueOf(v2.intValue() + phase.getNodes())); ! /* Print phase name, elapsed time, nodes at the start of the phase, ! nodes created in the phase, live nodes at the start of the phase, ! live nodes added in the phase. ! */ ! out.printf("\t%s %6.4f %d %d %d %d\n", phase.getName(), phase.getElapsedTime(), phase.getStartNodes(), phase.getNodes(), phase.getStartLiveNodes(), phase.getLiveNodes()); } } 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