comparison src/share/vm/oops/methodKlass.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 2fe087c3e814
children 957c266d8bc5
comparison
equal deleted inserted replaced
6241:aba91a731143 6266:1d7922586cf6
236 st->print_cr(" - intrinsic id: %d %s", m->intrinsic_id(), vmIntrinsics::name_at(m->intrinsic_id())); 236 st->print_cr(" - intrinsic id: %d %s", m->intrinsic_id(), vmIntrinsics::name_at(m->intrinsic_id()));
237 if (m->highest_comp_level() != CompLevel_none) 237 if (m->highest_comp_level() != CompLevel_none)
238 st->print_cr(" - highest level: %d", m->highest_comp_level()); 238 st->print_cr(" - highest level: %d", m->highest_comp_level());
239 st->print_cr(" - vtable index: %d", m->_vtable_index); 239 st->print_cr(" - vtable index: %d", m->_vtable_index);
240 st->print_cr(" - i2i entry: " INTPTR_FORMAT, m->interpreter_entry()); 240 st->print_cr(" - i2i entry: " INTPTR_FORMAT, m->interpreter_entry());
241 st->print_cr(" - adapter: " INTPTR_FORMAT, m->adapter()); 241 st->print( " - adapters: ");
242 if (m->adapter() == NULL)
243 st->print_cr(INTPTR_FORMAT, m->adapter());
244 else
245 m->adapter()->print_adapter_on(st);
242 st->print_cr(" - compiled entry " INTPTR_FORMAT, m->from_compiled_entry()); 246 st->print_cr(" - compiled entry " INTPTR_FORMAT, m->from_compiled_entry());
243 st->print_cr(" - code size: %d", m->code_size()); 247 st->print_cr(" - code size: %d", m->code_size());
244 if (m->code_size() != 0) { 248 if (m->code_size() != 0) {
245 st->print_cr(" - code start: " INTPTR_FORMAT, m->code_base()); 249 st->print_cr(" - code start: " INTPTR_FORMAT, m->code_base());
246 st->print_cr(" - code end (excl): " INTPTR_FORMAT, m->code_base() + m->code_size()); 250 st->print_cr(" - code end (excl): " INTPTR_FORMAT, m->code_base() + m->code_size());
284 } 288 }
285 } 289 }
286 if (m->code() != NULL) { 290 if (m->code() != NULL) {
287 st->print (" - compiled code: "); 291 st->print (" - compiled code: ");
288 m->code()->print_value_on(st); 292 m->code()->print_value_on(st);
289 st->cr(); 293 }
290 } 294 if (m->is_native()) {
291 if (m->is_method_handle_invoke()) {
292 st->print_cr(" - invoke method type: " INTPTR_FORMAT, (address) m->method_handle_type());
293 // m is classified as native, but it does not have an interesting
294 // native_function or signature handler
295 } else if (m->is_native()) {
296 st->print_cr(" - native function: " INTPTR_FORMAT, m->native_function()); 295 st->print_cr(" - native function: " INTPTR_FORMAT, m->native_function());
297 st->print_cr(" - signature handler: " INTPTR_FORMAT, m->signature_handler()); 296 st->print_cr(" - signature handler: " INTPTR_FORMAT, m->signature_handler());
298 } 297 }
299 } 298 }
300 299