hotspot/src/share/vm/runtime/arguments.cpp
changeset 27147 ed83dc5777e6
parent 26950 4c77580f566c
child 27148 a4b542d56e01
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Mon Oct 13 12:30:37 2014 +0200
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Wed Oct 15 10:51:43 2014 +0200
@@ -3922,6 +3922,15 @@
         "Incompatible compilation policy selected", NULL);
     }
   }
+
+#ifdef COMPILER2
+#ifndef PRODUCT
+  if (PrintIdealGraphLevel > 0) {
+    FLAG_SET_ERGO(bool, PrintIdealGraph, true);
+  }
+#endif
+#endif
+
   // Set NmethodSweepFraction after the size of the code cache is adapted (in case of tiered)
   if (FLAG_IS_DEFAULT(NmethodSweepFraction)) {
     FLAG_SET_DEFAULT(NmethodSweepFraction, 1 + ReservedCodeCacheSize / (16 * M));