Skip to content
Permalink
Browse files
8277842: IGV: Add jvms property to know where a node came from
Reviewed-by: roland, neliasso, thartmann
  • Loading branch information
chhagedorn committed Nov 29, 2021
1 parent c3a7f2f commit 0c7a4b8aa8bb672e87aae7090494719db018b9b1
Showing 1 changed file with 8 additions and 0 deletions.
@@ -418,6 +418,14 @@ void IdealGraphPrinter::visit_node(Node *n, bool edges, VectorSet* temp_set) {
break;
}

Node_Notes* nn = C->node_notes_at(node->_idx);
if (nn != NULL && !nn->is_clear() && nn->jvms() != NULL) {
buffer[0] = 0;
stringStream ss(buffer, sizeof(buffer) - 1);
nn->jvms()->dump_spec(&ss);
print_prop("jvms", buffer);
}

const jushort flags = node->flags();
if (flags & Node::Flag_is_Copy) {
print_prop("is_copy", "true");

1 comment on commit 0c7a4b8

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 0c7a4b8 Nov 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.