Mercurial > hg > truffle
diff graal/com.oracle.graal.printer/src/com/oracle/graal/printer/CompilationPrinter.java @ 7530:5e3d1a68664e
applied mx eclipseformat to all Java files
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Jan 2013 16:34:57 +0100 |
parents | 5a1f6e96e163 |
children | 47e7933283f1 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.printer/src/com/oracle/graal/printer/CompilationPrinter.java Wed Jan 23 16:34:38 2013 +0100 +++ b/graal/com.oracle.graal.printer/src/com/oracle/graal/printer/CompilationPrinter.java Wed Jan 23 16:34:57 2013 +0100 @@ -32,11 +32,12 @@ import com.oracle.graal.debug.*; /** - * Utility for printing compilation related data structures at various compilation phases. - * The output format is such that it can then be fed to the - * <a href="https://c1visualizer.dev.java.net/">C1 Visualizer</a>. + * Utility for printing compilation related data structures at various compilation phases. The + * output format is such that it can then be fed to the <a + * href="https://c1visualizer.dev.java.net/">C1 Visualizer</a>. */ public class CompilationPrinter implements Closeable { + public static final String COLUMN_END = " <|@"; public static final String HOVER_START = "<@"; public static final String HOVER_SEP = "|@"; @@ -45,11 +46,12 @@ private static OutputStream globalOut; /** - * Gets a global output stream on a file in the current working directory. - * This stream is first opened if necessary. The name of the file - * is {@code "compilations-" + System.currentTimeMillis() + ".cfg"}. - * - * @return the global output stream or {@code null} if there was an error opening the file for writing + * Gets a global output stream on a file in the current working directory. This stream is first + * opened if necessary. The name of the file is + * {@code "compilations-" + System.currentTimeMillis() + ".cfg"}. + * + * @return the global output stream or {@code null} if there was an error opening the file for + * writing */ public static synchronized OutputStream globalOut() { if (globalOut == null) { @@ -67,7 +69,7 @@ /** * Creates a control flow graph printer. - * + * * @param os where the output generated via this printer will be sent */ public CompilationPrinter(OutputStream os) { @@ -98,7 +100,7 @@ /** * Prints a compilation timestamp for a given method. - * + * * @param method the method for which a timestamp will be printed */ public void printCompilation(JavaMethod method) {