8353669: IGV: dump OOP maps for MachSafePoint nodes

Reviewed-by: chagedorn, thartmann
This commit is contained in:
Roberto Castañeda Lozano 2025-04-08 08:27:00 +00:00
parent ea07e719ca
commit fda5eecd67

View File

@ -667,6 +667,15 @@ void IdealGraphPrinter::visit_node(Node* n, bool edges) {
print_prop("lrg", lrg_id);
}
if (node->is_MachSafePoint()) {
const OopMap* oopmap = node->as_MachSafePoint()->oop_map();
if (oopmap != nullptr) {
stringStream oopmap_stream;
oopmap->print_on(&oopmap_stream);
print_prop("oopmap", oopmap_stream.freeze());
}
}
Compile::current()->_in_dump_cnt--;
tail(PROPERTIES_ELEMENT);