# HG changeset patch # User Peter Hofer # Date 1305724637 -7200 # Node ID a51ef0310dadf5f4dc5b9bc0f6d4a09a680d9ce1 # Parent b179be22a3dbd7de76b511a4844851fadd03ecd8 Document new IdealGraphPrinterObserver constructors diff -r b179be22a3db -r a51ef0310dad graal/GraalCompiler/src/com/sun/c1x/debug/IdealGraphPrinterObserver.java --- a/graal/GraalCompiler/src/com/sun/c1x/debug/IdealGraphPrinterObserver.java Wed May 18 15:01:43 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/debug/IdealGraphPrinterObserver.java Wed May 18 15:17:17 2011 +0200 @@ -48,10 +48,16 @@ private OutputStream stream; private Socket socket; + /** + * Creates a new {@link IdealGraphPrinterObserver} that writes output to a file named after the compiled method. + */ public IdealGraphPrinterObserver() { this(null, -1); } + /** + * Creates a new {@link IdealGraphPrinterObserver} that sends output to a remove IdealGraphVisualizer instance. + */ public IdealGraphPrinterObserver(String host, int port) { this.host = host; this.port = port;