Tracing the Java origin of C2 nodes is useful for understanding and diagnosing C2 issues. Currently, HotSpot dumps basic JVMState information for nodes where this is available (see attached screenshot), but the amount of information and the way it is presented can be improved (for example, JVMState::dump_on prints more information that is not currently captured in the node property).
Thanks to [~thartmann] for the original suggestion.
Thanks to [~thartmann] for the original suggestion.