--- old/src/share/vm/opto/idealGraphPrinter.cpp 2015-09-25 16:23:22.310913900 +0200 +++ new/src/share/vm/opto/idealGraphPrinter.cpp 2015-09-25 16:23:22.222913903 +0200 @@ -669,7 +669,7 @@ // Print current ideal graph void IdealGraphPrinter::print(Compile* compile, const char *name, Node *node, int level, bool clear_nodes) { - if (!_current_method || !_should_send_method || !should_print(_current_method, level)) return; + if (!_current_method || !_should_send_method || !should_print(level)) return; this->C = compile; @@ -722,10 +722,8 @@ } // Should method be printed? -bool IdealGraphPrinter::should_print(ciMethod* method, int level) { - intx ideal_graph_level = PrintIdealGraphLevel; - method->has_option_value("PrintIdealGraphLevel", ideal_graph_level); // update value with per-method value (if available) - return ideal_graph_level >= level; +bool IdealGraphPrinter::should_print(int level) { + return C->dirset()->IGVPrintLevelOption >= level; } extern const char *NodeClassNames[];