hotspot/src/share/vm/utilities/xmlstream.cpp
changeset 24002 4e6a72032a99
parent 13728 882756847a04
child 24424 2658d7834c6e
equal deleted inserted replaced
24001:d0eea05381dd 24002:4e6a72032a99
   394     if (cnt != 0)  print(" overflow_recompiles='%d'", cnt);
   394     if (cnt != 0)  print(" overflow_recompiles='%d'", cnt);
   395   }
   395   }
   396 }
   396 }
   397 
   397 
   398 void xmlStream::method_text(methodHandle method) {
   398 void xmlStream::method_text(methodHandle method) {
       
   399   ResourceMark rm;
   399   assert_if_no_error(inside_attrs(), "printing attributes");
   400   assert_if_no_error(inside_attrs(), "printing attributes");
   400   if (method.is_null())  return;
   401   if (method.is_null())  return;
   401   //method->print_short_name(text());
   402   text()->print(method->method_holder()->external_name());
   402   method->method_holder()->name()->print_symbol_on(text());
       
   403   print_raw(" ");  // " " is easier for tools to parse than "::"
   403   print_raw(" ");  // " " is easier for tools to parse than "::"
   404   method->name()->print_symbol_on(text());
   404   method->name()->print_symbol_on(text());
   405   print_raw(" ");  // separator
   405   print_raw(" ");  // separator
   406   method->signature()->print_symbol_on(text());
   406   method->signature()->print_symbol_on(text());
   407 }
   407 }