1.1 --- a/src/cpu/sparc/vm/methodHandles_sparc.cpp Mon Oct 08 13:02:13 2012 -0700 1.2 +++ b/src/cpu/sparc/vm/methodHandles_sparc.cpp Mon Oct 08 17:04:00 2012 -0700 1.3 @@ -208,8 +208,6 @@ 1.4 Register O1_scratch = O1; 1.5 Register O4_param_size = O4; // size of parameters 1.6 1.7 - address code_start = __ pc(); 1.8 - 1.9 // here's where control starts out: 1.10 __ align(CodeEntryAlignment); 1.11 address entry_point = __ pc(); 1.12 @@ -252,22 +250,9 @@ 1.13 // O4_first_arg_addr is live! 1.14 1.15 if (TraceMethodHandles) { 1.16 - const char* name = vmIntrinsics::name_at(iid); 1.17 - if (*name == '_') name += 1; 1.18 - const size_t len = strlen(name) + 50; 1.19 - char* qname = NEW_C_HEAP_ARRAY(char, len, mtInternal); 1.20 - const char* suffix = ""; 1.21 - if (vmIntrinsics::method_for(iid) == NULL || 1.22 - !vmIntrinsics::method_for(iid)->access_flags().is_public()) { 1.23 - if (is_signature_polymorphic_static(iid)) 1.24 - suffix = "/static"; 1.25 - else 1.26 - suffix = "/private"; 1.27 - } 1.28 - jio_snprintf(qname, len, "MethodHandle::interpreter_entry::%s%s", name, suffix); 1.29 if (O0_mh != noreg) 1.30 __ mov(O0_mh, G3_method_handle); // make stub happy 1.31 - trace_method_handle(_masm, qname); 1.32 + trace_method_handle_interpreter_entry(_masm, iid); 1.33 } 1.34 1.35 if (iid == vmIntrinsics::_invokeBasic) { 1.36 @@ -287,14 +272,6 @@ 1.37 generate_method_handle_dispatch(_masm, iid, O0_recv, G5_member, not_for_compiler_entry); 1.38 } 1.39 1.40 - if (PrintMethodHandleStubs) { 1.41 - address code_end = __ pc(); 1.42 - tty->print_cr("--------"); 1.43 - tty->print_cr("method handle interpreter entry for %s", vmIntrinsics::name_at(iid)); 1.44 - Disassembler::decode(code_start, code_end); 1.45 - tty->cr(); 1.46 - } 1.47 - 1.48 return entry_point; 1.49 } 1.50