hotspot/src/share/vm/compiler/methodMatcher.cpp
changeset 33468 b82c87453d2d
parent 33451 0712796e4039
child 33626 3c94db05e903
--- a/hotspot/src/share/vm/compiler/methodMatcher.cpp	Fri Oct 23 07:18:31 2015 +0000
+++ b/hotspot/src/share/vm/compiler/methodMatcher.cpp	Mon Oct 26 10:36:54 2015 +0100
@@ -320,13 +320,11 @@
 }
 
 void MethodMatcher::print_symbol(outputStream* st, Symbol* h, Mode mode) {
-  ResourceMark rm;
-
   if (mode == Suffix || mode == Substring || mode == Any) {
     st->print("*");
   }
   if (mode != Any) {
-    h->print_symbol_on(st);
+    h->print_utf8_on(st);
   }
   if (mode == Prefix || mode == Substring) {
     st->print("*");
@@ -334,11 +332,13 @@
 }
 
 void MethodMatcher::print_base(outputStream* st) {
+  ResourceMark rm;
+
   print_symbol(st, class_name(), _class_mode);
   st->print(".");
   print_symbol(st, method_name(), _method_mode);
   if (signature() != NULL) {
-    signature()->print_symbol_on(st);
+    signature()->print_utf8_on(st);
   }
 }