< prev index next >

src/hotspot/share/opto/idealGraphPrinter.cpp

Print this page
rev 54995 : 8224675: Late GC barrier insertion for ZGC
Reviewed-by:

*** 348,365 **** tail(GROUP_ELEMENT); _current_method = NULL; _xml->flush(); } - // Print indent - void IdealGraphPrinter::print_indent() { - tty->print_cr("printing indent %d", _depth); - for (int i = 0; i < _depth; i++) { - _xml->print("%s", INDENT); - } - } - bool IdealGraphPrinter::traverse_outs() { return _traverse_outs; } void IdealGraphPrinter::set_traverse_outs(bool b) { --- 348,357 ----
*** 661,678 **** } } } } ! void IdealGraphPrinter::print_method(const char *name, int level, bool clear_nodes) { ! print(name, (Node *)C->root(), level, clear_nodes); } // Print current ideal graph ! void IdealGraphPrinter::print(const char *name, Node *node, int level, bool clear_nodes) { ! if (!_current_method || !_should_send_method || !should_print(level)) return; // Warning, unsafe cast? _chaitin = (PhaseChaitin *)C->regalloc(); begin_head(GRAPH_ELEMENT); --- 653,672 ---- } } } } ! void IdealGraphPrinter::print_method(const char *name, int level) { ! if (should_print(level)) { ! print(name, (Node *) C->root()); ! } } // Print current ideal graph ! void IdealGraphPrinter::print(const char *name, Node *node) { ! if (!_current_method || !_should_send_method) return; // Warning, unsafe cast? _chaitin = (PhaseChaitin *)C->regalloc(); begin_head(GRAPH_ELEMENT);
< prev index next >