changeset 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 2186ca5c2dab
files graal/GraalCompiler/src/com/sun/c1x/debug/IdealGraphPrinterObserver.java
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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;