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	Tue Nov 27 18:44:47 2012
--- new/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java	Tue Nov 27 18:44:46 2012

*** 41,51 **** --- 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.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 **** --- 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())); out.printf("\t%s %6.4f %d %d\n", phase.getName(), phase.getElapsedTime(), phase.getStartNodes(), 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