8230037: Confused MetaData dumped by PrintOptoAssembly
authorjiefu
Fri, 30 Aug 2019 00:03:10 +0200
changeset 57952 5021d91ba9bd
parent 57950 4612a3cfb927
child 57953 d78c910f9069
8230037: Confused MetaData dumped by PrintOptoAssembly Reviewed-by: kvn, bsrbnd
src/hotspot/share/opto/output.cpp
--- a/src/hotspot/share/opto/output.cpp	Thu Aug 29 10:52:21 2019 -0700
+++ b/src/hotspot/share/opto/output.cpp	Fri Aug 30 00:03:10 2019 +0200
@@ -1569,13 +1569,13 @@
                    "");
       }
       if (method() != NULL) {
-        tty->print_cr("----------------------------------- MetaData -----------------------------------");
+        tty->print_cr("----------------------- MetaData before Compile_id = %d ------------------------", compile_id());
         method()->print_metadata();
       } else if (stub_name() != NULL) {
         tty->print_cr("----------------------------- RuntimeStub %s -------------------------------", stub_name());
       }
       tty->cr();
-      tty->print_cr("--------------------------------- OptoAssembly ---------------------------------");
+      tty->print_cr("------------------------ OptoAssembly for Compile_id = %d -----------------------", compile_id());
       dump_asm(node_offsets, node_offset_limit);
       tty->print_cr("--------------------------------------------------------------------------------");
       if (xtty != NULL) {