changeset 56131:5021d91ba9bd

8230037: Confused MetaData dumped by PrintOptoAssembly Reviewed-by: kvn, bsrbnd
author jiefu
date Fri, 30 Aug 2019 00:03:10 +0200
parents 4612a3cfb927
children d78c910f9069
files src/hotspot/share/opto/output.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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) {