1.1 --- a/src/share/vm/runtime/fprofiler.cpp Mon Jul 23 13:04:59 2012 -0700 1.2 +++ b/src/share/vm/runtime/fprofiler.cpp Tue Jul 24 10:51:00 2012 -0700 1.3 @@ -337,11 +337,13 @@ 1.4 char c = (char) n->byte_at(i); 1.5 st->print("%c", c); 1.6 } 1.7 - if( Verbose ) { 1.8 + if (Verbose || WizardMode) { 1.9 // Disambiguate overloaded methods 1.10 Symbol* sig = m->signature(); 1.11 sig->print_symbol_on(st); 1.12 - } 1.13 + } else if (MethodHandles::is_signature_polymorphic(m->intrinsic_id())) 1.14 + // compare with methodOopDesc::print_short_name 1.15 + MethodHandles::print_as_basic_type_signature_on(st, m->signature(), true); 1.16 } 1.17 1.18 virtual void print(outputStream* st, int total_ticks) {