changeset 6281:a7b2eaf364de

added info message suggesting use of -G:-PrintCFG in conjuction with -G:+PrintBinaryGraphs
author Doug Simon <doug.simon@oracle.com>
date Sat, 04 Aug 2012 01:35:01 +0200
parents 77196bba5575
children f84a603283be
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotDebugConfig.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotDebugConfig.java	Mon Jul 30 08:37:04 2012 -0700
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotDebugConfig.java	Sat Aug 04 01:35:01 2012 +0200
@@ -66,6 +66,9 @@
         }
         dumpHandlers.add(new GraphPrinterDumpHandler());
         if (GraalOptions.PrintCFG) {
+            if (GraalOptions.PrintBinaryGraphs) {
+                TTY.println("CFG dumping slows down PrintBinaryGraphs: use -G:-PrintCFG to disable it");
+            }
             dumpHandlers.add(new CFGPrinterObserver());
         }
         this.output = output;