diff -r 06664440c7a3 -r ed83dc5777e6 hotspot/src/share/vm/runtime/arguments.cpp --- 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));