changeset 4246:a71f8a0deaf1

8007085: EnableTracing prints garbage for Compilation: [Java Method Reviewed-by: coleenp, sla Contributed-by: markus.gronlund@oracle.com
author nloodin
date Mon, 25 Feb 2013 15:01:12 +0100
parents a398781bfe8b
children 1273de7c42d4
files src/share/vm/trace/traceStream.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/trace/traceStream.hpp	Thu Feb 21 07:50:48 2013 -0500
+++ b/src/share/vm/trace/traceStream.hpp	Mon Feb 25 15:01:12 2013 +0100
@@ -83,7 +83,7 @@
   }
 
   void print_val(const char* label, methodOop& val) {
-    _st.print("%s = %s", label, val->print_string());
+    _st.print("%s = %s", label, val->name_and_sig_as_C_string());
   }
 
   void print_val(const char* label, const char* val) {