1567 xtty->head("opto_assembly compile_id='%d'%s", compile_id(), |
1567 xtty->head("opto_assembly compile_id='%d'%s", compile_id(), |
1568 is_osr_compilation() ? " compile_kind='osr'" : |
1568 is_osr_compilation() ? " compile_kind='osr'" : |
1569 ""); |
1569 ""); |
1570 } |
1570 } |
1571 if (method() != NULL) { |
1571 if (method() != NULL) { |
1572 tty->print_cr("----------------------------------- MetaData -----------------------------------"); |
1572 tty->print_cr("----------------------- MetaData before Compile_id = %d ------------------------", compile_id()); |
1573 method()->print_metadata(); |
1573 method()->print_metadata(); |
1574 } else if (stub_name() != NULL) { |
1574 } else if (stub_name() != NULL) { |
1575 tty->print_cr("----------------------------- RuntimeStub %s -------------------------------", stub_name()); |
1575 tty->print_cr("----------------------------- RuntimeStub %s -------------------------------", stub_name()); |
1576 } |
1576 } |
1577 tty->cr(); |
1577 tty->cr(); |
1578 tty->print_cr("--------------------------------- OptoAssembly ---------------------------------"); |
1578 tty->print_cr("------------------------ OptoAssembly for Compile_id = %d -----------------------", compile_id()); |
1579 dump_asm(node_offsets, node_offset_limit); |
1579 dump_asm(node_offsets, node_offset_limit); |
1580 tty->print_cr("--------------------------------------------------------------------------------"); |
1580 tty->print_cr("--------------------------------------------------------------------------------"); |
1581 if (xtty != NULL) { |
1581 if (xtty != NULL) { |
1582 // print_metadata and dump_asm above may safepoint which makes us loose the ttylock. |
1582 // print_metadata and dump_asm above may safepoint which makes us loose the ttylock. |
1583 // Retake lock too make sure the end tag is coherent, and that xmlStream->pop_tag is done |
1583 // Retake lock too make sure the end tag is coherent, and that xmlStream->pop_tag is done |