comparison src/share/vm/runtime/fprofiler.cpp @ 6266:1d7922586cf6

7023639: JSR 292 method handle invocation needs a fast path for compiled code 6984705: JSR 292 method handle creation should not go through JNI Summary: remove assembly code for JDK 7 chained method handles Reviewed-by: jrose, twisti, kvn, mhaupt Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>
author twisti
date Tue, 24 Jul 2012 10:51:00 -0700
parents d2a62e0f25eb
children da91efe96a93
comparison
equal deleted inserted replaced
6241:aba91a731143 6266:1d7922586cf6
335 limit = n->utf8_length(); 335 limit = n->utf8_length();
336 for (i = 0 ; i < limit ; i += 1) { 336 for (i = 0 ; i < limit ; i += 1) {
337 char c = (char) n->byte_at(i); 337 char c = (char) n->byte_at(i);
338 st->print("%c", c); 338 st->print("%c", c);
339 } 339 }
340 if( Verbose ) { 340 if (Verbose || WizardMode) {
341 // Disambiguate overloaded methods 341 // Disambiguate overloaded methods
342 Symbol* sig = m->signature(); 342 Symbol* sig = m->signature();
343 sig->print_symbol_on(st); 343 sig->print_symbol_on(st);
344 } 344 } else if (MethodHandles::is_signature_polymorphic(m->intrinsic_id()))
345 // compare with methodOopDesc::print_short_name
346 MethodHandles::print_as_basic_type_signature_on(st, m->signature(), true);
345 } 347 }
346 348
347 virtual void print(outputStream* st, int total_ticks) { 349 virtual void print(outputStream* st, int total_ticks) {
348 ticks.print_code(st, total_ticks); 350 ticks.print_code(st, total_ticks);
349 st->fill_to(col2); 351 st->fill_to(col2);