Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/debug/IdealGraphPrinterObserver.java @ 2699:a51ef0310dad
Document new IdealGraphPrinterObserver constructors
author | Peter Hofer <peter.hofer@jku.at> |
---|---|
date | Wed, 18 May 2011 15:17:17 +0200 |
parents | b179be22a3db |
children | b003ea36fa12 |
line wrap: on
line diff
--- 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;