Mercurial > hg > truffle
changeset 13138:c6a8a3af11ac
improved output of method name under -G:+PrintProfilingInformation
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 23 Nov 2013 23:19:28 +0100 |
parents | 438ed35bed29 |
children | f9d908fb3492 |
files | graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java graal/com.oracle.graal.phases/src/com/oracle/graal/phases/GraalOptions.java |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Fri Nov 22 15:32:20 2013 -0800 +++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Sat Nov 23 23:19:28 2013 +0100 @@ -213,7 +213,7 @@ private void build() { if (PrintProfilingInformation.getValue()) { - TTY.println("Profiling info for " + method); + TTY.println("Profiling info for " + MetaUtil.format("%H.%n(%p)", method)); TTY.println(MetaUtil.indent(MetaUtil.profileToString(profilingInfo, method, CodeUtil.NEW_LINE), " ")); }
--- a/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/GraalOptions.java Fri Nov 22 15:32:20 2013 -0800 +++ b/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/GraalOptions.java Sat Nov 23 23:19:28 2013 +0100 @@ -148,9 +148,9 @@ public static final OptionValue<Boolean> PrintBinaryGraphs = new OptionValue<>(true); @Option(help = "Output probabilities for fixed nodes during binary graph dumping") public static final OptionValue<Boolean> PrintGraphProbabilities = new OptionValue<>(false); - @Option(help = "Enables dumping to the C1Visualizer. Enabling this option implies PrintBackendCFG.") + @Option(help = "Enable dumping to the C1Visualizer. Enabling this option implies PrintBackendCFG.") public static final OptionValue<Boolean> PrintCFG = new OptionValue<>(false); - @Option(help = "Enables dumping LIR, register allocation and code generation info to the C1Visualizer.") + @Option(help = "Enable dumping LIR, register allocation and code generation info to the C1Visualizer.") public static final OptionValue<Boolean> PrintBackendCFG = new OptionValue<>(true); @Option(help = "") public static final OptionValue<Boolean> PrintIdealGraphFile = new OptionValue<>(false); @@ -166,7 +166,7 @@ public static final OptionValue<Boolean> PrintCompilation = new OptionValue<>(false); @Option(help = "") public static final OptionValue<Boolean> PrintAfterCompilation = new OptionValue<>(false); - @Option(help = "") + @Option(help = "Print profiling information when parsing a method's bytecode") public static final OptionValue<Boolean> PrintProfilingInformation = new OptionValue<>(false); @Option(help = "") public static final OptionValue<Boolean> PrintCodeBytes = new OptionValue<>(false); @@ -180,7 +180,7 @@ public static final OptionValue<Boolean> ExitVMOnException = new OptionValue<>(true); @Option(help = "") public static final OptionValue<Boolean> PrintStackTraceOnException = new OptionValue<>(false); - @Option(help = "Sets a phase after which the decompiler dumps the graph, -G:Dump= required") + @Option(help = "Set a phase after which the decompiler dumps the graph, -G:Dump= required") public static final OptionValue<String> DecompileAfterPhase = new OptionValue<>(null); // HotSpot command line options